Searched refs:x86_leaf (Results 1 – 2 of 2) sorted by relevance
103 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check() argument106 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()107 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()108 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()109 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()110 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()111 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()112 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()160 unsigned int x86_leaf = __feature_leaf(x86_feature); in x86_feature_cpuid() local162 reverse_cpuid_check(x86_leaf); in x86_feature_cpuid()[all …]
204 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_clear() local206 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_clear()207 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()212 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_set() local214 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_set()215 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()220 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_get() local222 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_get()223 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()