From: Julien Grall <julien.grall@linaro.org>
To: Frediano Ziglio <freddy77@gmail.com>
Cc: Tim Deegan <tim@xen.org>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v3] xen/arm: dump guest stack even if not the current VCPU
Date: Wed, 22 Oct 2014 14:43:14 +0100 [thread overview]
Message-ID: <5447B472.6000403@linaro.org> (raw)
In-Reply-To: <CAHt6W4c6wx5x3kKndYpRC7PH5O2n1E-i27jNG4ecetay7rvLWA@mail.gmail.com>
On 10/22/2014 02:36 PM, Frediano Ziglio wrote:
> From: Frediano Ziglio <frediano.ziglio@huawei.com>
>
> If show_guest_stack was called from Xen context (for instance hitting
> '0' key on Xen console) get_page_from_gva was not able to get the
> page returning NULL.
>
> The function get_page_from_gva is used in hot path (see
> arch/arm/guestcopy.c) but always with the current domain. The function
> will be used with another domain than current only when the stack of
> the guest will be dumped. The code added is self-containted.
>
> Signed-off-by: Frediano Ziglio <frediano.ziglio@huawei.com>
> ---
> xen/arch/arm/p2m.c | 22 +++++++++++++++++++---
> xen/arch/arm/traps.c | 2 +-
> 2 files changed, 20 insertions(+), 4 deletions(-)
>
> Changed from v2:
> - add comment suggested by Julien Grall (I have some doubt about
> removing my initial comments or keep it, I kept it removing the code
> explanation);
By comment I meant after "---", explaining that this patch is bug fix
for Xen 4.5... I didn't ask to modify the commit message. Sorry for not
been clear.
You can give a look to
http://wiki.xen.org/wiki/Xen_Roadmap/4.4#Exception_guidelines_for_after_the_code_freeze.
It's for Xen 4.4 but it also apply for Xen 4.5.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2014-10-22 13:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 13:36 [PATCH v3] xen/arm: dump guest stack even if not the current VCPU Frediano Ziglio
2014-10-22 13:43 ` Julien Grall [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-22 14:17 Frediano Ziglio
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=5447B472.6000403@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=freddy77@gmail.com \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--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.