Searched refs:x86_leaf (Results 1 – 2 of 2) sorted by relevance
111 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check() argument114 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()115 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()116 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()117 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()118 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()119 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()120 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()168 unsigned int x86_leaf = __feature_leaf(x86_feature); in x86_feature_cpuid() local170 reverse_cpuid_check(x86_leaf); in x86_feature_cpuid()[all …]
181 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_clear() local183 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_clear()184 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()189 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_set() local191 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_set()192 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()197 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_get() local199 reverse_cpuid_check(x86_leaf); in kvm_cpu_cap_get()200 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()