Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dcpuid.c747 if (WARN_ON((kvm_cpu_cap_has(X86_FEATURE_RDTSCP) || in kvm_set_cpu_caps()
748 kvm_cpu_cap_has(X86_FEATURE_RDPID)) && in kvm_set_cpu_caps()
837 if (kvm_cpu_cap_has(X86_FEATURE_RDTSCP)) in __do_cpuid_func_emulated()
1014 if (!kvm_cpu_cap_has(X86_FEATURE_XFD)) in __do_cpuid_func()
1022 if (!kvm_cpu_cap_has(X86_FEATURE_SGX)) { in __do_cpuid_func()
1054 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT)) { in __do_cpuid_func()
1066 if (!kvm_cpu_cap_has(X86_FEATURE_AMX_TILE)) { in __do_cpuid_func()
1077 if (!kvm_cpu_cap_has(X86_FEATURE_AMX_TILE)) { in __do_cpuid_func()
1175 if (!kvm_cpu_cap_has(X86_FEATURE_SVM)) { in __do_cpuid_func()
1198 if (!kvm_cpu_cap_has(X86_FEATURE_SEV)) { in __do_cpuid_func()
Dcpuid.h215 static __always_inline bool kvm_cpu_cap_has(unsigned int x86_feature) in kvm_cpu_cap_has() function
Dx86.c7014 if (!kvm_cpu_cap_has(X86_FEATURE_RDTSCP) && in kvm_init_msr_list()
7015 !kvm_cpu_cap_has(X86_FEATURE_RDPID)) in kvm_init_msr_list()
7019 if (!kvm_cpu_cap_has(X86_FEATURE_WAITPKG)) in kvm_init_msr_list()
7024 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT)) in kvm_init_msr_list()
7028 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_init_msr_list()
7034 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_init_msr_list()
7040 if (!kvm_cpu_cap_has(X86_FEATURE_INTEL_PT) || in kvm_init_msr_list()
7057 if (!kvm_cpu_cap_has(X86_FEATURE_XFD)) in kvm_init_msr_list()
12289 if (!kvm_cpu_cap_has(X86_FEATURE_XSAVES)) in kvm_arch_hardware_setup()
12292 #define __kvm_cpu_cap_has(UNUSED_, f) kvm_cpu_cap_has(f) in kvm_arch_hardware_setup()
/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.c1120 if (kvm_cpu_cap_has(X86_FEATURE_INVPCID)) { in svm_recalc_instruction_intercepts()
1128 if (kvm_cpu_cap_has(X86_FEATURE_RDTSCP)) { in svm_recalc_instruction_intercepts()
4126 svm->nrips_enabled = kvm_cpu_cap_has(X86_FEATURE_NRIPS) && in svm_vcpu_after_set_cpuid()
4134 svm->pause_filter_enabled = kvm_cpu_cap_has(X86_FEATURE_PAUSEFILTER) && in svm_vcpu_after_set_cpuid()
4137 svm->pause_threshold_enabled = kvm_cpu_cap_has(X86_FEATURE_PFTHRESHOLD) && in svm_vcpu_after_set_cpuid()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c7645 if (kvm_cpu_cap_has(X86_FEATURE_XFD)) in vmx_vcpu_after_set_cpuid()