Messages in this thread | | | From | "Lendacky, Thomas" <> | Subject | Re: [PATCH 0/2] Provide options to enable spectre_v2 userspace-userspace protection | Date | Fri, 21 Sep 2018 17:44:54 +0000 |
| |
On 09/21/2018 12:14 PM, Tim Chen wrote: > 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/ ?
Yup, I messed up. Those should "msr |=", not x86_spec_ctrl_base.
Thanks, Tom
> > Tim >
| |