Home
last modified time | relevance | path

Searched refs:MSR_IA32_SPEC_CTRL (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/arch/x86/xen/
Dsuspend.c44 wrmsrl(MSR_IA32_SPEC_CTRL, this_cpu_read(spec_ctrl)); in xen_vcpu_notify_restore()
60 rdmsrl(MSR_IA32_SPEC_CTRL, tmp); in xen_vcpu_notify_suspend()
62 wrmsrl(MSR_IA32_SPEC_CTRL, 0); in xen_vcpu_notify_suspend()
/Linux-v5.4/arch/x86/include/asm/
Dnospec-branch.h294 alternative_msr_write(MSR_IA32_SPEC_CTRL, val, \
302 alternative_msr_write(MSR_IA32_SPEC_CTRL, val, \
Dmsr-index.h44 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
/Linux-v5.4/arch/x86/kernel/cpu/
Dbugs.c97 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in check_bugs()
172 wrmsrl(MSR_IA32_SPEC_CTRL, msrval); in x86_virt_spec_ctrl()
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()
1056 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in __ssb_select_mitigation()
1250 wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in x86_spec_ctrl_setup_ap()
/Linux-v5.4/arch/x86/kernel/
Dprocess.c460 wrmsrl(MSR_IA32_SPEC_CTRL, msr); in __speculation_ctrl_update()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c287 { .index = MSR_IA32_SPEC_CTRL, .always = false },
4185 case MSR_IA32_SPEC_CTRL: in svm_get_msr()
4270 case MSR_IA32_SPEC_CTRL: in svm_set_msr()
4296 set_msr_interception(svm->msrpm, MSR_IA32_SPEC_CTRL, 1, 1); in svm_set_msr()
5770 if (unlikely(!msr_write_intercepted(vcpu, MSR_IA32_SPEC_CTRL))) in svm_vcpu_run()
5771 svm->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in svm_vcpu_run()
Dx86.c1152 MSR_IA32_SPEC_CTRL,
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c1791 case MSR_IA32_SPEC_CTRL: in vmx_get_msr()
1974 case MSR_IA32_SPEC_CTRL: in vmx_set_msr()
2001 MSR_IA32_SPEC_CTRL, in vmx_set_msr()
6598 if (unlikely(!msr_write_intercepted(vcpu, MSR_IA32_SPEC_CTRL))) in vmx_vcpu_run()
6599 vmx->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in vmx_vcpu_run()
Dnested.c641 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_SPEC_CTRL)) in nested_vmx_prepare_msr_bitmap()
644 MSR_IA32_SPEC_CTRL, in nested_vmx_prepare_msr_bitmap()