From: Ingo Molnar Subject: Re: [PATCH] x86/speculation: Clean up various Spectre related details Date: Sun, 11 Feb 2018 20:43:05 +0100 Message-ID: <20180211194305.zg7tq3x3cxjuphyo@gmail.com> References: <1518305967-31356-1-git-send-email-dwmw@amazon.co.uk> <1518362359-1005-1-git-send-email-dwmw@amazon.co.uk> <20180211185057.rest4bf2ydx7slrk@gmail.com> <1518377119.6606.2.camel@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, karahmed@amazon.de, sironi@amazon.de, kvm@vger.kernel.org, torvalds@linux-foundation.org, pbonzini@redhat.com, bp@alien8.de, peterz@infradead.org, jmattson@google.com, rkrcmar@redhat.com, arjan.van.de.ven@intel.com, dave.hansen@intel.com To: David Woodhouse Return-path: Content-Disposition: inline In-Reply-To: <1518377119.6606.2.camel@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org * David Woodhouse wrote: > > > On Sun, 2018-02-11 at 19:50 +0100, Ingo Molnar wrote: > > > > From 82c2b2f29691143a05181333f387e786646aa28b Mon Sep 17 00:00:00 2001 > > From: Ingo Molnar > > Date: Sat, 10 Feb 2018 11:51:57 +0100 > > Subject: [PATCH] x86/speculation: Clean up various Spectre related details > > > > Harmonize all the Spectre messages so that a: > > > >     dmesg | grep -i spectre > > > > ... gives us most Spectre related kernel boot messages. > > > > Also fix a few other details: > > > >  - clarify a comment about firmware speculation control > > > >  - s/KPTI/PTI > > > >  - remove various line-breaks that made the code uglier > > > > Cc: Andy Lutomirski > > Cc: Arjan van de Ven > > Cc: Borislav Petkov > > Cc: Dan Williams > > Cc: Dave Hansen > > Cc: David Woodhouse > > Cc: David Woodhouse > > Cc: Greg Kroah-Hartman > > Cc: Josh Poimboeuf > > Cc: Linus Torvalds > > Cc: Peter Zijlstra > > Cc: Thomas Gleixner > > Signed-off-by: Ingo Molnar > > > > Acked-by: David Woodhouse Thanks, added. > with a couple of comments: > > > -        * If neither SMEP or KPTI are available, there is a risk of > +        * If neither SMEP or PTI are available, there is a risk of > > Make that 'neither SMEP nor PTI' while you're at it though please; > that's bugged me a couple of times in passing. Ok, fixed that too. > > And should these say 'Spectre v2' not just 'Spectre'? Yeah, you are probably right, but I didn't want to make the messages too specific - do we really know that this is the end of Spectre-style speculation holes? Thanks, Ingo