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

\
 
 \ /
  Last update: 2018-09-21 19:14    [W:0.054 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site