Searched refs:x86_leaf (Results 1 – 2 of 2) sorted by relevance
122 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check() argument125 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()126 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()127 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()128 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()129 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()130 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()131 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()161 u32 x86_leaf = __feature_translate(x86_feature) / 32; in __feature_leaf() local163 reverse_cpuid_check(x86_leaf); in __feature_leaf()[all …]
197 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_clear() local200 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()205 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_set() local208 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()213 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_get() local215 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()241 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_set() local243 vcpu->arch.cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in guest_cpu_cap_set()249 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_clear() local251 vcpu->arch.cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in guest_cpu_cap_clear()[all …]