From: Julien Grall <julien.grall@citrix.com>
To: Gihun Jung <gihun.jung@gmail.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Data Abort while in booting when using Julien's new patches on Arndale Board
Date: Tue, 30 Apr 2013 17:36:21 +0100 [thread overview]
Message-ID: <517FF305.7000707@citrix.com> (raw)
In-Reply-To: <CALnjYg4mGCAtwLoAcoXDJA0Dfg9PN37C=NQqjw2SVTQbxJAbew@mail.gmail.com>
On 04/30/2013 10:08 AM, Gihun Jung wrote:
> Hello,
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.
Thanks,
--
Julien
next prev parent reply other threads:[~2013-04-30 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-30 9:08 Data Abort while in booting when using Julien's new patches on Arndale Board Gihun Jung
2013-04-30 9:37 ` Ian Campbell
2013-04-30 16:36 ` Julien Grall [this message]
2013-05-02 2:46 ` Gihun Jung
2013-05-02 12:10 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=517FF305.7000707@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=gihun.jung@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.