Home
last modified time | relevance | path

Searched refs:x86_spec_ctrl_base (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/cpu/
Dbugs.c46 u64 x86_spec_ctrl_base; variable
47 EXPORT_SYMBOL_GPL(x86_spec_ctrl_base);
98 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in check_bugs()
155 u64 msrval, guestval, hostval = x86_spec_ctrl_base; in x86_virt_spec_ctrl()
781 x86_spec_ctrl_base |= SPEC_CTRL_IBRS; in spectre_v2_select_mitigation()
782 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in spectre_v2_select_mitigation()
858 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in update_stibp_msr()
864 u64 mask = x86_spec_ctrl_base & ~SPEC_CTRL_STIBP; in update_stibp_strict()
869 if (mask == x86_spec_ctrl_base) in update_stibp_strict()
874 x86_spec_ctrl_base = mask; in update_stibp_strict()
[all …]
/arch/x86/include/asm/
Dnospec-branch.h281 extern u64 x86_spec_ctrl_base;
291 u64 val = x86_spec_ctrl_base | SPEC_CTRL_IBRS; \
300 u64 val = x86_spec_ctrl_base; \
/arch/x86/kernel/
Dprocess.c426 u64 msr = x86_spec_ctrl_base; in __speculation_ctrl_update()