mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Juergen Gross <jgross@suse.com>
Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org,
	x86@kernel.org, boris.ostrovsky@oracle.com, 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: Sat, 12 Aug 2017 12:11:34 +0200	[thread overview]
Message-ID: <20170812101134.tgqgorrthntjsmx4@gmail.com> (raw)
In-Reply-To: <20170811145448.5679-1-jgross@suse.com>


* Juergen Gross <jgross@suse.com> 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(-)

Acked-by: Ingo Molnar <mingo@kernel.org>

Thanks,

	Ingo

  reply	other threads:[~2017-08-12 10:11 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 [this message]
2017-08-16 15:11 ` Boris Ostrovsky

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=20170812101134.tgqgorrthntjsmx4@gmail.com \
    --to=mingo@kernel.org \
    --cc=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