Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/cpu/
Dbugs.c45 u64 x86_spec_ctrl_base; variable
46 EXPORT_SYMBOL_GPL(x86_spec_ctrl_base);
97 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in check_bugs()
148 u64 msrval, guestval, hostval = x86_spec_ctrl_base; in x86_virt_spec_ctrl()
755 x86_spec_ctrl_base |= SPEC_CTRL_IBRS; in spectre_v2_select_mitigation()
756 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in spectre_v2_select_mitigation()
832 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in update_stibp_msr()
838 u64 mask = x86_spec_ctrl_base & ~SPEC_CTRL_STIBP; in update_stibp_strict()
843 if (mask == x86_spec_ctrl_base) in update_stibp_strict()
848 x86_spec_ctrl_base = mask; in update_stibp_strict()
[all …]
/Linux-v5.4/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; \
/Linux-v5.4/arch/x86/kernel/
Dprocess.c426 u64 msr = x86_spec_ctrl_base; in __speculation_ctrl_update()