[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f0308518-6444-815a-cdcf-9e7d43887727@linux.intel.com>
Date: Fri, 21 Sep 2018 10:14:04 -0700
From: Tim Chen <tim.c.chen@...ux.intel.com>
To: "Lendacky, Thomas" <Thomas.Lendacky@....com>,
Jiri Kosina <jikos@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Andrea Arcangeli <aarcange@...hat.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Andi Kleen <ak@...ux.intel.com>,
Dave Hansen <dave.hansen@...el.com>,
Casey Schaufler <casey.schaufler@...el.com>,
Asit Mallick <asit.k.mallick@...el.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
Jon Masters <jcm@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH 0/2] Provide options to enable spectre_v2
userspace-userspace protection
On 09/21/2018 08:44 AM, Lendacky, Thomas wrote:
> + if (static_cpu_has(X86_FEATURE_SSBD))
> + x86_spec_ctrl_base |= ssbd_tif_to_spec_ctrl(tifn);
> +
> + x86_spec_ctrl_base |= stibp_tif_to_spec_ctrl(tifn);
>
> wrmsrl(MSR_IA32_SPEC_CTRL, msr);
> }
>
Should this part be s/x86_spec_ctrl_base/msr/ ?
Tim
Powered by blists - more mailing lists