lkml.org 
[lkml]   [2018]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 0/2] Provide options to enable spectre_v2 userspace-userspace protection
Date


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
>
\
 
 \ /
  Last update: 2018-09-21 19:45    [W:0.101 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site