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

Re: [Xen-devel] Data Abort while in booting when using Julien's new patches on Arndale Board

On 04/30/2013 10:08 AM, Gihun Jung wrote:

> Hello,


> I am trying to boot Arndale board with Julien's new XenARM patch series.
> But I have got "Data Abort" while in booting.

Thanks for trying my patch series :).

> My environment is:
>      - Arndale Board
>      - Xen-4.3-unstable from branch "arm" in
> git://xenbits.xen.org/people/julieng/xen-unstable.git
>      - Dom0 Kernel from branch "dev-arndale-dom0-3.9" in
> git://xenbits.xen.org/people/julieng/linux-arm.git

This is not related, but this branch doesn't work. If you want to try
Linux 3.9 I advise you use to "dev-arndale-dom0-3.9-rc4". I use this
branch for my test.

- DTS: arch/arm/boot/exynos5250-arndale.dts
- config: arch/arm/configs/xen_dom0_arndale_defconfig

I will add this tree on the wiki page as soon as possible.

> I have found the causing "Data Abort" code while I am some debugging.
> static int exynos5_specific_mapping(struct domain *d)
> {
>     ....snip....
>     p2m_populate_ram(d, 0x0, 0x1000 - 1);
>     res = gvirt_to_maddr(0, &ma);
>     ...snip....
> }
> From above code, "gvirt_to_maddr" calls "gva_to_ma_par":
> static inline uint64_t gva_to_ma_par(vaddr_t va)
> {
>     uint64_t par, tmp;
>     tmp = READ_CP64(PAR);
>     WRITE_CP32(va, ATS12NSOPR);
>     isb(); /* Ensure result is available. */
>     par = READ_CP64(PAR);
>     WRITE_CP64(tmp, PAR);
>     return par;
> }
> When I have tired to debugging, I have found " WRITE_CP32(va,
> ATS12NSOPR)[1]" that cause data abort. It seems [1] translates stage 1
> and 2 MMU and returns PA corresponding input va.
> Does anybody see same problem? I attach my log below:

I have noticed this issue yesterday. The lines between
p2m_populate_ram... and unmap_domain_page... should be removed.

But there is another issue with linux 3.7. If you want to use
this version you need to checkout "arndale" branch in my xen git.
Otherwise you can use the branch "arm" with linux 3.9.

Let me know if you have any issue with this patch series.



Xen-devel mailing list



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