Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/arch/x86/include/asm/
Dnospec-branch.h533 alternative_msr_write(MSR_IA32_SPEC_CTRL, \
542 alternative_msr_write(MSR_IA32_SPEC_CTRL, \
Dmsr-index.h45 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
/linux-6.6.21/arch/x86/kvm/svm/
Dvmenter.S57 mov $MSR_IA32_SPEC_CTRL, %ecx
73 mov $MSR_IA32_SPEC_CTRL, %ecx
Dsvm.c99 { .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/
Dcalling.h302 movl $MSR_IA32_SPEC_CTRL, %ecx
331 movl $MSR_IA32_SPEC_CTRL, %ecx
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmenter.S126 mov $MSR_IA32_SPEC_CTRL, %ecx
Dvmx.c164 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()
Dnested.c655 MSR_IA32_SPEC_CTRL, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
/linux-6.6.21/arch/x86/power/
Dcpu.c484 { MSR_IA32_SPEC_CTRL, X86_FEATURE_MSR_SPEC_CTRL }, in pm_save_spec_msr()
/linux-6.6.21/arch/x86/kernel/cpu/
Dbugs.c72 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/
Dmsr-index.h45 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
/linux-6.6.21/drivers/idle/
Dintel_idle.c180 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/
Dx86.c1457 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()