Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dbugs.c53 u64 x86_spec_ctrl_base; variable
54 EXPORT_SYMBOL_GPL(x86_spec_ctrl_base);
133 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in check_bugs()
1299 x86_spec_ctrl_base |= SPEC_CTRL_RRSBA_DIS_S; in spec_ctrl_disable_kernel_rrsba()
1300 write_spec_ctrl_current(x86_spec_ctrl_base, true); in spec_ctrl_disable_kernel_rrsba()
1421 x86_spec_ctrl_base |= SPEC_CTRL_IBRS; in spectre_v2_select_mitigation()
1422 write_spec_ctrl_current(x86_spec_ctrl_base, true); in spectre_v2_select_mitigation()
1523 u64 val = spec_ctrl_current() | (x86_spec_ctrl_base & SPEC_CTRL_STIBP); in update_stibp_msr()
1530 u64 mask = x86_spec_ctrl_base & ~SPEC_CTRL_STIBP; in update_stibp_strict()
1535 if (mask == x86_spec_ctrl_base) in update_stibp_strict()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dnospec-branch.h301 extern u64 x86_spec_ctrl_base;
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess.c533 u64 msr = x86_spec_ctrl_base; in __speculation_ctrl_update()