Home
last modified time | relevance | path

Searched refs:kvm_cpu_cap_has (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kvm/
H A Dcpuid.c865 if (WARN_ON((kvm_cpu_cap_has(X86_FEATURE_RDTSCP) || in kvm_set_cpu_caps()
866 kvm_cpu_cap_has(X86_FEATURE_RDPID)) && in kvm_set_cpu_caps()
955 if (kvm_cpu_cap_has(X86_FEATURE_RDTSCP)) in __do_cpuid_func_emulated()
1142 if (!kvm_cpu_cap_has(X86_FEATURE_XFD)) in __do_cpuid_func()
1150 if (!kvm_cpu_cap_has(X86_FEATURE_SGX)) { in __do_cpuid_func()
1180 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT)) { in __do_cpuid_func()
1192 if (!kvm_cpu_cap_has(X86_FEATURE_AMX_TILE)) { in __do_cpuid_func()
1203 if (!kvm_cpu_cap_has(X86_FEATURE_AMX_TILE)) { in __do_cpuid_func()
1211 if (!kvm_cpu_cap_has(X86_FEATURE_AVX10)) { in __do_cpuid_func()
1347 if (!kvm_cpu_cap_has(X86_FEATURE_SVM)) { in __do_cpuid_func()
[all …]
H A Dcpuid.h203 static __always_inline bool kvm_cpu_cap_has(unsigned int x86_feature) in kvm_cpu_cap_has() function
256 if (kvm_cpu_cap_has(x86_feature) && guest_cpuid_has(vcpu, x86_feature)) in kvm_governed_feature_check_and_set()
H A Dx86.c7382 if (!kvm_cpu_cap_has(X86_FEATURE_RDTSCP) && in kvm_probe_msr_to_save()
7383 !kvm_cpu_cap_has(X86_FEATURE_RDPID)) in kvm_probe_msr_to_save()
7387 if (!kvm_cpu_cap_has(X86_FEATURE_WAITPKG)) in kvm_probe_msr_to_save()
7392 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT)) in kvm_probe_msr_to_save()
7396 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_probe_msr_to_save()
7402 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_probe_msr_to_save()
7408 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_probe_msr_to_save()
7434 if (!kvm_cpu_cap_has(X86_FEATURE_PERFMON_V2)) in kvm_probe_msr_to_save()
7439 if (!kvm_cpu_cap_has(X86_FEATURE_XFD)) in kvm_probe_msr_to_save()
9773 if (!kvm_cpu_cap_has(X86_FEATURE_XSAVES)) in kvm_x86_vendor_init()
[all …]
/linux/arch/x86/kvm/svm/
H A Dsvm.c1188 if (kvm_cpu_cap_has(X86_FEATURE_INVPCID)) { in svm_recalc_instruction_intercepts()
1196 if (kvm_cpu_cap_has(X86_FEATURE_RDTSCP)) { in svm_recalc_instruction_intercepts()
5242 !kvm_cpu_cap_has(X86_FEATURE_PERFCTR_CORE)) in svm_set_cpu_caps()