Home
last modified time | relevance | path

Searched refs:X86_FEATURE_VMX (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/arch/x86/kernel/cpu/
Dfeat_ctl.c120 clear_cpu_cap(c, X86_FEATURE_VMX); in init_ia32_feat_ctl()
125 enable_vmx = cpu_has(c, X86_FEATURE_VMX) && in init_ia32_feat_ctl()
171 if (!cpu_has(c, X86_FEATURE_VMX)) in init_ia32_feat_ctl()
179 clear_cpu_cap(c, X86_FEATURE_VMX); in init_ia32_feat_ctl()
198 if (!cpu_has(c, X86_FEATURE_VMX) && enable_sgx_kvm) { in init_ia32_feat_ctl()
Dproc.c105 if (cpu_has(c, X86_FEATURE_VMX) && c->vmx_capability[0]) { in show_cpuinfo()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c151 if (!kvm_cpu_has(X86_FEATURE_VMX) || in main()
171 test_hv_cpuid(hv_cpuid_entries, kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_set_nested_state_test.c124 vcpu_set_cpuid_feature(vcpu, X86_FEATURE_VMX); in test_vmx_nested_state()
260 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
267 vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_VMX); in main()
Dvmx_close_while_nested_test.c54 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_invalid_nested_guest_state.c61 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_msrs_test.c76 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_apic_access_test.c83 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_dirty_log_test.c80 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_tsc_adjust_test.c130 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dtriple_fault_event_test.c66 bool has_vmx = kvm_cpu_has(X86_FEATURE_VMX); in main()
Dset_sregs_test.c57 if (kvm_cpu_has(X86_FEATURE_VMX)) in calc_supported_cr4_feature_bits()
Dsmm_test.c159 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
Dvmx_preemption_timer_test.c170 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dvmx_nested_tsc_scaling_test.c153 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dstate_test.c175 else if (kvm_cpu_has(X86_FEATURE_VMX)) in main()
Devmcs_test.c211 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in main()
Dnested_exceptions_test.c230 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_SVM) || kvm_cpu_has(X86_FEATURE_VMX)); in main()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dperf_test_util.c87 TEST_REQUIRE(kvm_cpu_has(X86_FEATURE_VMX)); in perf_test_setup_nested()
/linux-6.1.9/tools/arch/x86/include/asm/
Dcpufeatures.h121 #define X86_FEATURE_VMX ( 4*32+ 5) /* Hardware virtualization */ macro
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Dvirt.c308 if (!cpu_feature_enabled(X86_FEATURE_VMX)) in sgx_vepc_init()
/linux-6.1.9/arch/x86/include/asm/
Dcpufeatures.h121 #define X86_FEATURE_VMX ( 4*32+ 5) /* Hardware virtualization */ macro
/linux-6.1.9/arch/x86/kvm/vmx/
Devmcs.c356 if (kvm_cpu_cap_get(X86_FEATURE_VMX) && in nested_get_evmcs_version()
/linux-6.1.9/arch/x86/kvm/
Dx86.h473 if (!__cpu_has(__c, X86_FEATURE_VMX)) \
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h82 #define X86_FEATURE_VMX KVM_X86_CPU_FEATURE(0x1, 0, ECX, 5) macro

12