From: Julien Grall <julien.grall@linaro.org>
To: Chen Baozi <baozich@gmail.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
List Developer Xen <xen-devel@lists.xen.org>
Subject: Re: About arm32 address translation
Date: Wed, 16 Oct 2013 14:01:57 +0100 [thread overview]
Message-ID: <525E8E45.2010305@linaro.org> (raw)
In-Reply-To: <5D3FAE68-3732-4D28-9948-34F1F175AA22@gmail.com>
On 10/16/2013 01:02 PM, Chen Baozi wrote:
>
> On Oct 16, 2013, at 7:44 PM, Chen Baozi <baozich@gmail.com> wrote:
>
>> On Wed, Oct 16, 2013 at 11:41:18AM +0100, Ian Campbell wrote:
>>> On Wed, 2013-10-16 at 18:26 +0800, Chen Baozi wrote:
>>>> On Wed, Oct 16, 2013 at 11:24:47AM +0100, Ian Campbell wrote:
>>>
>>>>> That suggests that the guest's SP doesn't have a mapping in the guest's
>>>>> PTs. What's the full trace?
>>>>
>>>> See http://pastebin.com/DYL5gkAQ
>>>
>>> Yeah, not a whole lot to go on is there ;-)
>>>
>>> Converting the PC (c02c1544) to a code line with gdb or addr2line would
>>> be a good start I think.
>>>
>>> You could also consider hacking up an earlyprintk via Xen by dropping a
>>> xen_raw_console_write into vprintk_emit once the buffer is formatted and
>>> see if that gets you any useful console output.
>>
>> The hack is workable! See http://pastebin.com/iSGJnKSg
>>
>> It looks like that dom0 has got some issues on "uart3", which is "skipped" due
>> to its disabled status in DT.
>
> Julien,
>
> Will the DT node of uart3 be populated to dom0 but not mapped?
If it's the UART used by Xen, the UART is removed from the device tree
and a small UART is emulated by Xen (search arch/arm/vuart.c).
For what I see, Linux is unable to map the memory region (so _mpu_rt_va
= NULL) but he is trying to use it later... It's definitely an error
from Linux side and not Xen.
--
Julien Grall
next prev parent reply other threads:[~2013-10-16 13:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-16 9:20 About arm32 address translation Chen Baozi
2013-10-16 9:25 ` Ian Campbell
2013-10-16 10:02 ` Chen Baozi
2013-10-16 10:24 ` Ian Campbell
2013-10-16 10:26 ` Chen Baozi
2013-10-16 10:41 ` Ian Campbell
2013-10-16 10:47 ` Chen Baozi
2013-10-16 11:01 ` Ian Campbell
2013-10-16 11:44 ` Chen Baozi
2013-10-16 12:02 ` Chen Baozi
2013-10-16 13:01 ` Julien Grall [this message]
2013-10-16 12:54 ` David Vrabel
2013-10-16 13:07 ` Ian Campbell
2013-10-16 10:39 ` Chen Baozi
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=525E8E45.2010305@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=baozich@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.