| /linux-6.15/tools/testing/selftests/kvm/lib/x86/ |
| H A D | svm.c | 74 efer = rdmsr(MSR_EFER); in generic_svm_setup() 75 wrmsr(MSR_EFER, efer | EFER_SVME); in generic_svm_setup() 89 save->efer = rdmsr(MSR_EFER); in generic_svm_setup()
|
| H A D | vmx.c | 264 vmwrite(HOST_IA32_EFER, rdmsr(MSR_EFER)); in init_vmcs_host_state()
|
| /linux-6.15/arch/x86/kernel/acpi/ |
| H A D | sleep.c | 84 if (!rdmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel() 87 !wrmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
|
| /linux-6.15/drivers/firmware/efi/libstub/ |
| H A D | x86-mixed.S | 74 movl $MSR_EFER, %ecx 114 movl $MSR_EFER, %ecx
|
| /linux-6.15/arch/x86/boot/compressed/ |
| H A D | la57toggle.S | 75 movl $MSR_EFER, %ecx
|
| H A D | head_64.S | 239 movl $MSR_EFER, %ecx
|
| /linux-6.15/arch/x86/realmode/rm/ |
| H A D | reboot.S | 40 movl $MSR_EFER, %ecx
|
| H A D | wakeup_asm.S | 123 movl $MSR_EFER, %ecx
|
| H A D | trampoline_64.S | 164 movl $MSR_EFER, %ecx
|
| /linux-6.15/arch/x86/power/ |
| H A D | cpu.c | 118 rdmsrl(MSR_EFER, ctxt->efer); in __save_processor_state() 211 wrmsrl(MSR_EFER, ctxt->efer); in __restore_processor_state()
|
| /linux-6.15/arch/x86/realmode/ |
| H A D | init.c | 148 rdmsrl(MSR_EFER, efer); in setup_real_mode()
|
| /linux-6.15/arch/x86/platform/pvh/ |
| H A D | head.S | 102 mov $MSR_EFER, %ecx
|
| /linux-6.15/arch/x86/hyperv/ |
| H A D | hv_vtl.c | 152 input->vp_context.efer = __rdmsr(MSR_EFER); in hv_vtl_bringup_vcpu()
|
| H A D | ivm.c | 321 vmsa->efer = native_read_msr(MSR_EFER); in hv_snp_boot_ap()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | head_32.S | 215 movl $MSR_EFER, %ecx
|
| H A D | head_64.S | 384 movl $MSR_EFER, %ecx
|
| /linux-6.15/arch/x86/kernel/cpu/ |
| H A D | amd.c | 1085 WARN_ON_ONCE(msr_set_bit(MSR_EFER, _EFER_AUTOIBRS) < 0); in init_amd() 1092 msr_set_bit(MSR_EFER, _EFER_TCE); in init_amd()
|
| H A D | bugs.c | 1939 msr_set_bit(MSR_EFER, _EFER_AUTOIBRS); in spectre_v2_select_mitigation()
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | smm.c | 532 if (kvm_set_msr(vcpu, MSR_EFER, smstate->efer & ~EFER_LMA)) in rsm_load_state_64() 623 kvm_set_msr(vcpu, MSR_EFER, efer); in emulator_leave_smm()
|
| H A D | emulate.c | 792 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in emulator_recalc_and_set_mode() 1518 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in get_descriptor_ptr() 1692 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in __load_segment_descriptor() 2386 ops->get_msr(ctxt, MSR_EFER, &efer); in em_syscall() 2437 ops->get_msr(ctxt, MSR_EFER, &efer); in em_sysenter() 3888 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in check_svme()
|
| /linux-6.15/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 985 case MSR_EFER: in clear_atomic_switch_msr() 1038 case MSR_EFER: in add_atomic_switch_msr() 1128 add_atomic_switch_msr(vmx, MSR_EFER, in update_transition_efer() 1131 clear_atomic_switch_msr(vmx, MSR_EFER); in update_transition_efer() 1135 i = kvm_find_user_return_msr(MSR_EFER); in update_transition_efer() 1139 clear_atomic_switch_msr(vmx, MSR_EFER); in update_transition_efer() 1912 vmx_setup_uret_msr(vmx, MSR_EFER, update_transition_efer(vmx)); in vmx_setup_uret_msrs() 2037 case MSR_EFER: in vmx_get_msr() 2210 case MSR_EFER: in vmx_set_msr() 3166 if (!vmx_find_uret_msr(vmx, MSR_EFER)) in vmx_set_efer() [all …]
|
| H A D | nested.c | 4812 if (vmx->msr_autoload.guest.val[i].index == MSR_EFER) in nested_vmx_get_vmcs01_guest_efer() 4816 efer_msr = vmx_find_uret_msr(vmx, MSR_EFER); in nested_vmx_get_vmcs01_guest_efer()
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | svm.c | 110 { .index = MSR_EFER, .always = false }, 583 rdmsrl(MSR_EFER, efer); in kvm_cpu_svm_disable() 590 wrmsrl(MSR_EFER, efer & ~EFER_SVME); in kvm_cpu_svm_disable() 619 rdmsrl(MSR_EFER, efer); in svm_enable_virtualization_cpu() 629 wrmsrl(MSR_EFER, efer | EFER_SVME); in svm_enable_virtualization_cpu() 2890 msr_info.index = MSR_EFER; in efer_trap()
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | msr-index.h | 10 #define MSR_EFER 0xc0000080 /* extended feature register */ macro
|
| /linux-6.15/tools/arch/x86/include/asm/ |
| H A D | msr-index.h | 10 #define MSR_EFER 0xc0000080 /* extended feature register */ macro
|