From: Thomas Gleixner <tglx@linutronix.de>
To: Dexuan Cui <decui@microsoft.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
Dexuan-Linux Cui <dexuan.linux@gmail.com>,
Alexey Dobriyan <adobriyan@gmail.com>,
"pbonzini@redhat.com" <pbonzini@redhat.com>,
"rkrcmar@redhat.com" <rkrcmar@redhat.com>,
"mingo@redhat.com" <mingo@redhat.com>,
"hpa@zytor.com" <hpa@zytor.com>,
"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"x86@kernel.org" <x86@kernel.org>,
"arjan@linux.intel.com" <arjan@linux.intel.com>
Subject: RE: tip/master falls off NOP cliff with KPTI under KVM
Date: Thu, 25 Jan 2018 20:13:04 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.20.1801252011340.2203@nanos> (raw)
In-Reply-To: <KL1P15301MB0006FE067F7BD7601F30BCFDBFE10@KL1P15301MB0006.APCP153.PROD.OUTLOOK.COM>
[-- Attachment #1: Type: text/plain, Size: 2087 bytes --]
On Thu, 25 Jan 2018, Dexuan Cui wrote:
> > From: David Woodhouse [mailto:dwmw2@infradead.org]
> > Sent: Wednesday, January 24, 2018 23:53
> > On Wed, 2018-01-24 at 16:53 -0800, Dexuan-Linux Cui wrote:
> > > On Wed, Jan 10, 2018 at 2:53 PM, Woodhouse, David
> > <dwmw@amazon.co.uk> wrote:
> > > >
> > > > On Thu, 2018-01-11 at 01:34 +0300, Alexey Dobriyan wrote:
> > > > >
> > > > >
> > > > > Bisection points to
> > > > >
> > > > > f3433c1010c6af61c9897f0f0447f81b991feac1 is the first bad
> > commit
> > > > > commit f3433c1010c6af61c9897f0f0447f81b991feac1
> > > > > Author: David Woodhouse <dwmw@amazon.co.uk>
> > > > > Date: Tue Jan 9 14:43:11 2018 +0000
> > > > >
> > > > > x86/retpoline/entry: Convert entry assembler indirect jumps
> > > > Thanks. We've fixed the underlying problem with the alternatives
> > > > mechanism, *and* changed the retpoline code not to actually rely on
> > > > said fix.
> > > Hi David and all,
> > > It looks the latest upstream tree did fix the issue.
> > > Can you please specify the related commit(s) that fixed the issue?
> > > I need to cherry-pick the fix. I suppose a quick reply from you would save
> > > me a lot of time. :-)
> >
> > Hi Dexuan,
> >
> > The above commit didn't ever make it into Linus' tree in that form; the
> > issues were fixed beforehand. So there isn't a subsequent commit that
> > fixes it. I think it might have just been removing some .align 16 from
> > nospec-branch.h?
> >
> > The correct version has been backported to 4.9 and 4.4 releases
> > already; if you pulled in an early version directly from tip/x86/pti
> > then I'd recommend you drop it and pull in the real version instead.
>
> Thanks for the clarification, David!
> I'm going to pull the latest version from Linus's master branch.
The simpler solution is to pull from tip x86/pti which is still 4.14 based
and contains only the stuff which has to do with these issues. It's mostly
in Linus tree already except for the topmost 3 patches.
Thanks,
tglx
next prev parent reply other threads:[~2018-01-25 19:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 22:08 Alexey Dobriyan
2018-01-10 22:34 ` Alexey Dobriyan
2018-01-10 22:53 ` Woodhouse, David
2018-01-25 0:53 ` Dexuan-Linux Cui
2018-01-25 7:53 ` David Woodhouse
2018-01-25 19:00 ` Dexuan Cui
2018-01-25 19:13 ` Thomas Gleixner [this message]
2018-01-25 19:35 ` Dexuan-Linux Cui
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=alpine.DEB.2.20.1801252011340.2203@nanos \
--to=tglx@linutronix.de \
--cc=adobriyan@gmail.com \
--cc=arjan@linux.intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=decui@microsoft.com \
--cc=dexuan.linux@gmail.com \
--cc=dwmw2@infradead.org \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
--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®