From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Juergen Gross <jgross@suse.com>,
linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
x86@kernel.org
Cc: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, luto@amacapital.net
Subject: Re: [PATCH v4] xen: get rid of paravirt op adjust_exception_frame
Date: Wed, 16 Aug 2017 11:11:56 -0400 [thread overview]
Message-ID: <7ff53f6c-2bac-e6f4-ac4a-e35bf5f78540@oracle.com> (raw)
In-Reply-To: <20170811145448.5679-1-jgross@suse.com>
On 08/11/2017 10:54 AM, Juergen Gross wrote:
> When running as Xen pv-guest the exception frame on the stack contains
> %r11 and %rcx additional to the other data pushed by the processor.
>
> Instead of having a paravirt op being called for each exception type
> prepend the Xen specific code to each exception entry. When running as
> Xen pv-guest just use the exception entry with prepended instructions,
> otherwise use the entry without the Xen specific code.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
> arch/x86/entry/entry_64.S | 23 ++-------
> arch/x86/entry/entry_64_compat.S | 1 -
> arch/x86/include/asm/paravirt.h | 5 --
> arch/x86/include/asm/paravirt_types.h | 4 --
> arch/x86/include/asm/proto.h | 3 ++
> arch/x86/include/asm/traps.h | 33 ++++++++++--
> arch/x86/kernel/asm-offsets_64.c | 1 -
> arch/x86/kernel/paravirt.c | 3 --
> arch/x86/xen/enlighten_pv.c | 96 +++++++++++++++++++++++------------
> arch/x86/xen/irq.c | 3 --
> arch/x86/xen/xen-asm_64.S | 45 ++++++++++++++--
> arch/x86/xen/xen-ops.h | 1 -
> 12 files changed, 140 insertions(+), 78 deletions(-)
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Applied to for-linus-4.14.
-boris
prev parent reply other threads:[~2017-08-16 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 14:54 Juergen Gross
2017-08-12 10:11 ` Ingo Molnar
2017-08-16 15:11 ` Boris Ostrovsky [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=7ff53f6c-2bac-e6f4-ac4a-e35bf5f78540@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome