Home
last modified time | relevance | path

Searched refs:EFER_SVME (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c76 wrmsr(MSR_EFER, efer | EFER_SVME); in generic_svm_setup()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c309 if ((old_efer & EFER_SVME) != (efer & EFER_SVME)) { in svm_set_efer()
310 if (!(efer & EFER_SVME)) { in svm_set_efer()
342 svm->vmcb->save.efer = efer | EFER_SVME; in svm_set_efer()
595 if (efer & EFER_SVME) { in kvm_cpu_svm_disable()
601 wrmsrl(MSR_EFER, efer & ~EFER_SVME); in kvm_cpu_svm_disable()
631 if (efer & EFER_SVME) in svm_hardware_enable()
640 wrmsrl(MSR_EFER, efer | EFER_SVME); in svm_hardware_enable()
2822 msr_info.data = to_svm(vcpu)->vmcb->control.exit_info_1 & ~EFER_SVME; in efer_trap()
2985 if (svm_dis && (vcpu->arch.efer & EFER_SVME)) in svm_set_vm_cr()
4675 if (!(smram64->efer & EFER_SVME)) in svm_leave_smm()
[all …]
Dnested.c281 if (CC(!(save->efer & EFER_SVME))) in __nested_vmcb_check_save()
1357 if (!(vcpu->arch.efer & EFER_SVME) || !is_paging(vcpu)) { in nested_svm_check_permissions()
1672 if (!(vcpu->arch.efer & EFER_SVME)) { in svm_set_nested_state()
/linux-6.6.21/tools/arch/x86/include/asm/
Dmsr-index.h34 #define EFER_SVME (1<<_EFER_SVME) macro
/linux-6.6.21/arch/x86/include/asm/
Dmsr-index.h34 #define EFER_SVME (1<<_EFER_SVME) macro
/linux-6.6.21/arch/x86/kernel/
Dsev.c1059 vmsa->efer = EFER_SVME; in wakeup_cpu_via_vmgexit()
/linux-6.6.21/arch/x86/kvm/
Demulate.c3917 if (!(efer & EFER_SVME)) in check_svme()
Dx86.c1730 if (efer & EFER_SVME && !guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in __kvm_valid_efer()