Home
last modified time | relevance | path

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

/Linux-v6.6/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()
156 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dnested_exceptions_test.c161 if (this_cpu_has(X86_FEATURE_SVM)) in l1_guest_code()
225 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
230 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dsvm_nested_shutdown_test.c48 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dsvm_vmcall_test.c42 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dstate_test.c222 if (this_cpu_has(X86_FEATURE_SVM)) in guest_code()
249 if (kvm_cpu_has(X86_FEATURE_SVM)) in main()
Dsvm_int_ctl_test.c92 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()
Dsvm_nested_soft_inject_test.c202 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
Dhyperv_svm_test.c160 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM)); in main()
/Linux-v6.6/tools/arch/x86/include/asm/
Dcpufeatures.h163 #define X86_FEATURE_SVM ( 6*32+ 2) /* Secure Virtual Machine */ macro
/Linux-v6.6/arch/x86/include/asm/
Dcpufeatures.h163 #define X86_FEATURE_SVM ( 6*32+ 2) /* Secure Virtual Machine */ macro
/Linux-v6.6/arch/x86/kvm/svm/
Dsvm.c60 X86_MATCH_FEATURE(X86_FEATURE_SVM, NULL),
542 if (!cpu_has(c, X86_FEATURE_SVM)) { in __kvm_is_svm_supported()
4670 if (!guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in svm_leave_smm()
5092 kvm_cpu_cap_set(X86_FEATURE_SVM); in svm_set_cpu_caps()
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h175 #define X86_FEATURE_SVM KVM_X86_CPU_FEATURE(0x80000001, 0, ECX, 2) macro
/Linux-v6.6/arch/x86/kvm/
Dcpuid.c1225 if (!kvm_cpu_cap_has(X86_FEATURE_SVM)) { in __do_cpuid_func()
Dx86.c1730 if (efer & EFER_SVME && !guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in __kvm_valid_efer()