Searched refs:MSR_IA32_SPEC_CTRL (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/arch/x86/xen/ |
D | suspend.c | 44 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-6.6.21/arch/x86/include/asm/ |
D | nospec-branch.h | 533 alternative_msr_write(MSR_IA32_SPEC_CTRL, \ 542 alternative_msr_write(MSR_IA32_SPEC_CTRL, \
|
D | msr-index.h | 45 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | vmenter.S | 57 mov $MSR_IA32_SPEC_CTRL, %ecx 73 mov $MSR_IA32_SPEC_CTRL, %ecx
|
D | svm.c | 99 { .index = MSR_IA32_SPEC_CTRL, .always = false }, 1369 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_SPEC_CTRL, 1, 1); in init_vmcb() 2909 case MSR_IA32_SPEC_CTRL: in svm_get_msr() 3038 case MSR_IA32_SPEC_CTRL: in svm_set_msr() 3064 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_SPEC_CTRL, 1, 1); in svm_set_msr() 4132 bool spec_ctrl_intercepted = msr_write_intercepted(vcpu, MSR_IA32_SPEC_CTRL); in svm_vcpu_run()
|
/linux-6.6.21/arch/x86/entry/ |
D | calling.h | 302 movl $MSR_IA32_SPEC_CTRL, %ecx 331 movl $MSR_IA32_SPEC_CTRL, %ecx
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | vmenter.S | 126 mov $MSR_IA32_SPEC_CTRL, %ecx
|
D | vmx.c | 164 MSR_IA32_SPEC_CTRL, 963 if (!msr_write_intercepted(vmx, MSR_IA32_SPEC_CTRL)) in __vmx_vcpu_run_flags() 2021 case MSR_IA32_SPEC_CTRL: in vmx_get_msr() 2281 case MSR_IA32_SPEC_CTRL: in vmx_set_msr() 2306 MSR_IA32_SPEC_CTRL, in vmx_set_msr() 7203 vmx->spec_ctrl = __rdmsr(MSR_IA32_SPEC_CTRL); in vmx_spec_ctrl_restore_host() 7214 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()
|
D | nested.c | 655 MSR_IA32_SPEC_CTRL, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
|
/linux-6.6.21/arch/x86/power/ |
D | cpu.c | 484 { MSR_IA32_SPEC_CTRL, X86_FEATURE_MSR_SPEC_CTRL }, in pm_save_spec_msr()
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | bugs.c | 72 wrmsrl(MSR_IA32_SPEC_CTRL, val); in update_spec_ctrl() 91 wrmsrl(MSR_IA32_SPEC_CTRL, val); in update_spec_ctrl_cond() 137 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in cpu_select_mitigations()
|
/linux-6.6.21/tools/arch/x86/include/asm/ |
D | msr-index.h | 45 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
|
/linux-6.6.21/drivers/idle/ |
D | intel_idle.c | 180 native_wrmsrl(MSR_IA32_SPEC_CTRL, 0); in intel_idle_ibrs() 185 native_wrmsrl(MSR_IA32_SPEC_CTRL, spec_ctrl); in intel_idle_ibrs()
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 1457 MSR_IA32_SPEC_CTRL, MSR_IA32_TSX_CTRL, 13313 if (rdmsrl_safe(MSR_IA32_SPEC_CTRL, &saved_value)) in kvm_spec_ctrl_test_value() 13315 else if (wrmsrl_safe(MSR_IA32_SPEC_CTRL, value)) in kvm_spec_ctrl_test_value() 13318 wrmsrl(MSR_IA32_SPEC_CTRL, saved_value); in kvm_spec_ctrl_test_value()
|