[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1801101906080.1919@nanos>
Date: Wed, 10 Jan 2018 19:06:27 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Tom Lendacky <thomas.lendacky@....com>
cc: linux-kernel@...r.kernel.org, peterz@...radead.org,
tim.c.chen@...ux.intel.com, gregkh@...ux-foundation.org,
hpa@...or.com, mingo@...nel.org, dwmw@...zon.co.uk,
luto@...capital.net, riel@...hat.com, dave.hansen@...el.com,
keescook@...gle.com, ak@...ux.intel.com, pjt@...gle.com,
torvalds@...ux-foundation.org, jikos@...nel.org,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre
v2 mitigation
On Wed, 10 Jan 2018, Tom Lendacky wrote:
> > +retpoline_auto:
> > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
>
> Not specifying anything on the command line will get SPECTRE_V2_CMD_AUTO,
> so boot_cpu_has(X86_FEATURE_LFENCE_RDTSC) needs to be checked since it
> won't have been checked previously.
Dammit.
Powered by blists - more mailing lists