[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Domain 0 crashed when booting OMAP5 uEVM



On Mon, Aug 12, 2013 at 01:47:37PM +0100, Julien Grall wrote:
> > (XEN)     size=2 sign=0 write=0 reg=0
> > (XEN)     eat=0 cm=0 s1ptw=0 dfsc=7
> > (XEN) dom0 IPA 0x000000004ae06704
> > (XEN) P2M @ 02fdbf80 mfn:0xfedfc
> > (XEN) 1ST[0x1] = 0x00000000fedfe6ff
> > (XEN) 2ND[0x57] = 0x00000000ac9796ff
> > (XEN) 3RD[0x6] = 0x0000000000000000
> > (XEN) ----[ Xen-4.4-unstable  arm32  debug=y  Not tainted ]----
> > (XEN) CPU:    0
> > (XEN) PC:     c0033410
> 
> To help you, you can use "addr2line -e vmlinux address" to find the
> faulty line in linux. Where address is your pc.

$addr2line -e vmlinux 0xc0033410
/home/cbz/src/linux/arch/arm/mach-omap2/prminst44xx.c:52

I checked the codes around line 52 in prminst44xx:

45 /* Read a register in a PRM instance */
46 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx)
47 {
48         BUG_ON(part >= OMAP4_MAX_PRCM_PARTITIONS ||
49                part == OMAP4430_INVALID_PRCM_PARTITION ||
50                !_prm_bases[part]);
51         return __raw_readl(_prm_bases[part] + inst + idx);
52 }

So I think I have to implement a .specific_mapping such as
exynos5_specific_mapping in arch/arm/platforms/exynos5.c?

Just one more question. Read from OMAP5 datasheet, its IO memory address
space ranges from 0 to 2G (with holes of course). Do I have to map all
of them?

Cheers,

Baozi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.