From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Andy Lutomirski <luto@amacapital.net>, Brian Gerst <brgerst@gmail.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Linux Virtualization <virtualization@lists.linux-foundation.org>,
Ingo Molnar <mingo@redhat.com>,
David Vrabel <david.vrabel@citrix.com>,
Andrew Lutomirski <luto@kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Thomas Gleixner <tglx@linutronix.de>,
Borislav Petkov <bp@suse.de>
Subject: Re: [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests
Date: Wed, 18 Nov 2015 17:05:23 -0500 [thread overview]
Message-ID: <564CF623.40502@oracle.com> (raw)
In-Reply-To: <CALCETrUTp=Shcmvh44fE5URugd6c41dDGdDM8cKvnP=Gqap45A@mail.gmail.com>
On 11/18/2015 03:58 PM, Andy Lutomirski wrote:
> On Wed, Nov 18, 2015 at 12:50 PM, Brian Gerst <brgerst@gmail.com> wrote:
>>
>> Can you just add !xen_pv_domain() to the opportunistic SYSRET check
>> instead? Bury the alternatives in that macro, ie.
>> static_cpu_has(X86_FEATURE_XENPV). That would likely benefit other
>> code as well.
> We could, but that won't help the 64-bit case where we want to keep
> the full asm path.
I don't think I understand what you mean here. Which full asm path?
-boris
WARNING: multiple messages have this Message-ID (diff)
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Andy Lutomirski <luto@amacapital.net>, Brian Gerst <brgerst@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
David Vrabel <david.vrabel@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Andrew Lutomirski <luto@kernel.org>, Borislav Petkov <bp@suse.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Linux Virtualization <virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests
Date: Wed, 18 Nov 2015 17:05:23 -0500 [thread overview]
Message-ID: <564CF623.40502@oracle.com> (raw)
In-Reply-To: <CALCETrUTp=Shcmvh44fE5URugd6c41dDGdDM8cKvnP=Gqap45A@mail.gmail.com>
On 11/18/2015 03:58 PM, Andy Lutomirski wrote:
> On Wed, Nov 18, 2015 at 12:50 PM, Brian Gerst <brgerst@gmail.com> wrote:
>>
>> Can you just add !xen_pv_domain() to the opportunistic SYSRET check
>> instead? Bury the alternatives in that macro, ie.
>> static_cpu_has(X86_FEATURE_XENPV). That would likely benefit other
>> code as well.
> We could, but that won't help the 64-bit case where we want to keep
> the full asm path.
I don't think I understand what you mean here. Which full asm path?
-boris
next prev parent reply other threads:[~2015-11-18 22:05 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 20:06 [PATCH 0/3] Fix and cleanup for 32-bit PV sysexit Boris Ostrovsky
2015-11-18 20:06 ` [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests Boris Ostrovsky
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-18 20:21 ` Andy Lutomirski
2015-11-18 20:21 ` Andy Lutomirski
2015-11-18 20:47 ` Borislav Petkov
2015-11-18 20:47 ` Borislav Petkov
2015-11-18 20:47 ` Borislav Petkov
2015-11-18 20:50 ` Brian Gerst
2015-11-18 20:58 ` Andy Lutomirski
2015-11-18 20:58 ` Andy Lutomirski
2015-11-18 22:05 ` Boris Ostrovsky
2015-11-18 22:05 ` Boris Ostrovsky [this message]
2015-11-18 22:05 ` Boris Ostrovsky
2015-11-18 20:58 ` Andy Lutomirski
2015-11-18 20:50 ` Brian Gerst
2015-11-18 20:50 ` Brian Gerst
2015-11-19 12:08 ` Borislav Petkov
2015-11-19 12:08 ` Borislav Petkov
2015-11-19 12:08 ` Borislav Petkov
2015-11-18 20:21 ` Andy Lutomirski
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-18 20:06 ` [PATCH 2/3] x86: irq_enable_sysexit pv op is no longer needed Boris Ostrovsky
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-18 20:11 ` Konrad Rzeszutek Wilk
2015-11-18 20:34 ` Boris Ostrovsky
2015-11-18 20:34 ` Boris Ostrovsky
2015-11-18 21:16 ` Konrad Rzeszutek Wilk
2015-11-18 20:34 ` Boris Ostrovsky
2015-11-18 20:23 ` Andy Lutomirski
2015-11-18 20:23 ` Andy Lutomirski
2015-11-18 20:23 ` Andy Lutomirski
2015-11-18 20:06 ` [PATCH 3/3] x86: usergs_sysret32 " Boris Ostrovsky
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-18 20:26 ` Andy Lutomirski
2015-11-18 20:26 ` Andy Lutomirski
2015-11-18 20:26 ` Andy Lutomirski
2015-11-18 20:06 ` Boris Ostrovsky
2015-11-19 12:10 ` [PATCH 0/3] Fix and cleanup for 32-bit PV sysexit Borislav Petkov
2015-11-19 12:10 ` Borislav Petkov
2015-11-19 12:10 ` Borislav Petkov
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=564CF623.40502@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=bp@suse.de \
--cc=brgerst@gmail.com \
--cc=david.vrabel@citrix.com \
--cc=hpa@zytor.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=virtualization@lists.linux-foundation.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 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.