Home
last modified time | relevance | path

Searched refs:X86_FEATURE_SVM (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c86 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()
102 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()
157 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dnested_exceptions_test.c161 if (this_cpu_has(X86_FEATURE_SVM)) in l1_guest_code()
230 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
235 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dstate_test.c145 if (this_cpu_has(X86_FEATURE_SVM)) in guest_code()
173 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dsvm_vmcall_test.c42 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dsvm_nested_shutdown_test.c49 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dsvm_int_ctl_test.c93 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dtriple_fault_event_test.c67 bool has_svm = kvm_cpu_has(X86_FEATURE_SVM); in main()
Dhyperv_svm_test.c130 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dsvm_nested_soft_inject_test.c200 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
/linux-6.1.9/arch/x86/include/asm/
Dvirtext.h110 if (!boot_cpu_has(X86_FEATURE_SVM)) { in cpu_has_svm()
Dcpufeatures.h163 #define X86_FEATURE_SVM ( 6*32+ 2) /* Secure Virtual Machine */ macro
/linux-6.1.9/tools/arch/x86/include/asm/
Dcpufeatures.h163 #define X86_FEATURE_SVM ( 6*32+ 2) /* Secure Virtual Machine */ macro
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h126 #define X86_FEATURE_SVM KVM_X86_CPU_FEATURE(0x80000001, 0, ECX, 2) macro
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c56 X86_MATCH_FEATURE(X86_FEATURE_SVM, NULL),
4450 if (!guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in svm_leave_smm()
4858 kvm_cpu_cap_set(X86_FEATURE_SVM); in svm_set_cpu_caps()
/linux-6.1.9/arch/x86/kvm/
Dcpuid.c1175 if (!kvm_cpu_cap_has(X86_FEATURE_SVM)) { in __do_cpuid_func()
Dx86.c1694 if (efer & EFER_SVME && !guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in __kvm_valid_efer()