All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Baozi <baozich@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: List Developer Xen <xen-devel@lists.xen.org>
Subject: Re: About arm32 address translation
Date: Wed, 16 Oct 2013 18:39:30 +0800	[thread overview]
Message-ID: <F17618FA-7406-4F79-9C52-9F8B3697EB6C@gmail.com> (raw)
In-Reply-To: <1381919087.21901.64.camel@kazak.uk.xensource.com>


On Oct 16, 2013, at 6:24 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:

> On Wed, 2013-10-16 at 18:02 +0800, Chen Baozi wrote:
>> On Oct 16, 2013, at 5:25 PM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
>> 
>>> On Wed, 2013-10-16 at 17:20 +0800, Chen Baozi wrote:
>>>> Hi Ian,
>>>> 
>>>> I am trying to add supporting dumping 32-bit guest on arm32 to see
>>>> what happened in my dom0 kernel when booting. It seems
>>>> gvirt_to_maddr() is not workable under arm32.
>>> 
>>> What makes you say that, it should work, or else it is buggy and we've
>>> not noticed, but it is used in copy to/from user routines so I doubt
>>> that.
>> 
>> Ok, I'll look into it. The output shows me "Failed to convert stack to
>> physical address". In this case, it must be gvirt_to_maddr to return
>> -EFAULT.
> 
> That suggests that the guest's SP doesn't have a mapping in the guest's
> PTs. What's the full trace?

I may have missed lots of work when trying to enable this, for this is my first time to work on tracing related work, ;-)

Cheers,

Baozi

      parent reply	other threads:[~2013-10-16 10:39 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
2013-10-16 12:54           ` David Vrabel
2013-10-16 13:07             ` Ian Campbell
2013-10-16 10:39       ` Chen Baozi [this message]

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=F17618FA-7406-4F79-9C52-9F8B3697EB6C@gmail.com \
    --to=baozich@gmail.com \
    --cc=Ian.Campbell@citrix.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.