Searched refs:MSR_IA32_SPEC_CTRL (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/arch/x86/xen/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | nospec-branch.h | 325 alternative_msr_write(MSR_IA32_SPEC_CTRL, \ 334 alternative_msr_write(MSR_IA32_SPEC_CTRL, \
|
| H A D | msr-index.h | 48 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
|
| /OK3568_Linux_fs/kernel/arch/x86/entry/ |
| H A D | calling.h | 328 movl $MSR_IA32_SPEC_CTRL, %ecx 357 movl $MSR_IA32_SPEC_CTRL, %ecx
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | bugs.c | 66 wrmsrl(MSR_IA32_SPEC_CTRL, val); in update_spec_ctrl() 85 wrmsrl(MSR_IA32_SPEC_CTRL, val); in update_spec_ctrl_cond() 140 rdmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); in check_bugs() 209 wrmsrl(MSR_IA32_SPEC_CTRL, msrval); in x86_virt_spec_ctrl()
|
| /OK3568_Linux_fs/kernel/arch/x86/power/ |
| H A D | cpu.c | 536 { MSR_IA32_SPEC_CTRL, X86_FEATURE_MSR_SPEC_CTRL }, in pm_save_spec_msr()
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/svm/ |
| H A D | svm.c | 105 { .index = MSR_IA32_SPEC_CTRL, .always = false }, 2551 case MSR_IA32_SPEC_CTRL: in svm_get_msr() 2635 case MSR_IA32_SPEC_CTRL: in svm_set_msr() 2658 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_SPEC_CTRL, 1, 1); in svm_set_msr() 3615 if (unlikely(!msr_write_intercepted(vcpu, MSR_IA32_SPEC_CTRL))) in svm_vcpu_run() 3616 svm->spec_ctrl = native_read_msr(MSR_IA32_SPEC_CTRL); in svm_vcpu_run()
|
| /OK3568_Linux_fs/kernel/drivers/idle/ |
| H A D | intel_idle.c | 151 wrmsrl(MSR_IA32_SPEC_CTRL, 0); in intel_idle_ibrs() 156 wrmsrl(MSR_IA32_SPEC_CTRL, spec_ctrl); in intel_idle_ibrs()
|
| /OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/ |
| H A D | msr-index.h | 48 #define MSR_IA32_SPEC_CTRL 0x00000048 /* Speculation Control */ macro
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 157 MSR_IA32_SPEC_CTRL, 951 if (unlikely(!msr_write_intercepted(vmx, MSR_IA32_SPEC_CTRL))) in __vmx_vcpu_run_flags() 1915 case MSR_IA32_SPEC_CTRL: in vmx_get_msr() 2118 case MSR_IA32_SPEC_CTRL: in vmx_set_msr() 2143 MSR_IA32_SPEC_CTRL, in vmx_set_msr() 6715 vmx->spec_ctrl = __rdmsr(MSR_IA32_SPEC_CTRL); in vmx_spec_ctrl_restore_host() 6726 native_wrmsrl(MSR_IA32_SPEC_CTRL, hostval); in vmx_spec_ctrl_restore_host()
|
| H A D | nested.c | 646 if (!msr_write_intercepted_l01(vcpu, MSR_IA32_SPEC_CTRL)) in nested_vmx_prepare_msr_bitmap() 649 MSR_IA32_SPEC_CTRL, in nested_vmx_prepare_msr_bitmap()
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | x86.c | 1231 MSR_IA32_SPEC_CTRL, 11398 if (rdmsrl_safe(MSR_IA32_SPEC_CTRL, &saved_value)) in kvm_spec_ctrl_test_value() 11400 else if (wrmsrl_safe(MSR_IA32_SPEC_CTRL, value)) in kvm_spec_ctrl_test_value() 11403 wrmsrl(MSR_IA32_SPEC_CTRL, saved_value); in kvm_spec_ctrl_test_value()
|