From: "Woodhouse, David" <dwmw@amazon.co.uk>
To: "mingo@kernel.org" <mingo@kernel.org>,
"tim.c.chen@linux.intel.com" <tim.c.chen@linux.intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"peterz@infradead.org" <peterz@infradead.org>,
"ashok.raj@intel.com" <ashok.raj@intel.com>,
"Raslan, KarimAllah" <karahmed@amazon.de>,
"arjan@linux.intel.com" <arjan@linux.intel.com>,
"bp@suse.de" <bp@suse.de>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"Janakarajan.Natarajan@amd.com" <Janakarajan.Natarajan@amd.com>,
"ak@linux.intel.com" <ak@linux.intel.com>,
"joro@8bytes.org" <joro@8bytes.org>,
"dan.j.williams@intel.com" <dan.j.williams@intel.com>,
"x86@kernel.org" <x86@kernel.org>,
"hpa@zytor.com" <hpa@zytor.com>,
"aarcange@redhat.com" <aarcange@redhat.com>,
"mingo@redhat.com" <mingo@redhat.com>,
"luto@kernel.org" <luto@kernel.org>,
"torvalds@linux-foundation.org" <torvalds@linux-foundation.org>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"dave.hansen@intel.com" <dave.hansen@intel.com>,
"mhiramat@kernel.org" <mhiramat@kernel.org>,
"thomas.lendacky@amd.com" <thomas.lendacky@amd.com>,
"asit.k.mallick@intel.com" <asit.k.mallick@intel.com>,
"jun.nakajima@intel.com" <jun.nakajima@intel.com>,
"labbott@redhat.com" <labbott@redhat.com>,
"rkrcmar@redhat.com" <rkrcmar@redhat.com>,
"pbonzini@redhat.com" <pbonzini@redhat.com>
Subject: Re: [PATCH v2] x86/ibpb: Skip IBPB when we switch back to same user process
Date: Sun, 28 Jan 2018 10:38:27 +0000 [thread overview]
Message-ID: <1517135905.6624.68.camel@amazon.co.uk> (raw)
In-Reply-To: <20180128095609.rfcnv3itu3clrkru@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1092 bytes --]
On Sun, 2018-01-28 at 10:56 +0100, Ingo Molnar wrote:
>
> What tree is this patch against? It doesn't apply to linus's latest, nor to
> tip:master.
It's in my tree at
http://git.infradead.org/users/dwmw2/linux-retpoline.git/shortlog/refs/heads/ibpb
which is gradually being finalized and flushed via tip/x86/pti.
The IBPB on context switch parts are currently the first three patches
there, which roughly suggests they might be the next to get sent out
for real, if we have reached a consensus. The three patches there
probably want collapsing into one, but I've left them as-is for now
while we're discussing it.
The other thing that's next on the list is exposing the MSRs to guests.
The IBPB one is fairly simple, and Karim is working on exposing IBRS to
guests too, using Paolo's per-vCPU MSR bitmap to do the same trick
we've done in Xen, to expose it only after the guest first touches it
(to avoid the cost of swapping it when it's always 0←→0 in the common
case). I think Ashok was talking about doing the same thing? We'll see
who gets there first :)
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5210 bytes --]
[-- Attachment #2.1: Type: text/plain, Size: 197 bytes --]
Amazon Web Services UK Limited. Registered in England and Wales with registration number 08650665 and which has its registered office at 60 Holborn Viaduct, London EC1A 2FD, United Kingdom.
[-- Attachment #2.2: Type: text/html, Size: 197 bytes --]
prev parent reply other threads:[~2018-01-28 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 23:37 Tim Chen
2018-01-28 9:56 ` Ingo Molnar
2018-01-28 10:38 ` Woodhouse, David [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=1517135905.6624.68.camel@amazon.co.uk \
--to=dwmw@amazon.co.uk \
--cc=Janakarajan.Natarajan@amd.com \
--cc=aarcange@redhat.com \
--cc=ak@linux.intel.com \
--cc=arjan@linux.intel.com \
--cc=ashok.raj@intel.com \
--cc=asit.k.mallick@intel.com \
--cc=bp@suse.de \
--cc=dan.j.williams@intel.com \
--cc=dave.hansen@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=joro@8bytes.org \
--cc=jun.nakajima@intel.com \
--cc=karahmed@amazon.de \
--cc=labbott@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mhiramat@kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=rkrcmar@redhat.com \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=tim.c.chen@linux.intel.com \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.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
all inboxes | Powered by JetHome®