Home
last modified time | relevance | path

Searched refs:x86_leaf (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/arch/x86/kvm/
H A Dreverse_cpuid.h98 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()
99 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()
100 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()
101 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()
102 BUILD_BUG_ON(x86_leaf == CPUID_LNX_5); in reverse_cpuid_check()
103 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()
104 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()
133 reverse_cpuid_check(x86_leaf); in __feature_leaf()
134 return x86_leaf; in __feature_leaf()
155 unsigned int x86_leaf = __feature_leaf(x86_feature); in x86_feature_cpuid() local
[all …]
H A Dcpuid.h164 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_clear() local
166 kvm_cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in kvm_cpu_cap_clear()
171 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_set() local
173 kvm_cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in kvm_cpu_cap_set()
178 unsigned int x86_leaf = __feature_leaf(x86_feature); in kvm_cpu_cap_get() local
180 return kvm_cpu_caps[x86_leaf] & __feature_bit(x86_feature); in kvm_cpu_cap_get()
206 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_set() local
208 vcpu->arch.cpu_caps[x86_leaf] |= __feature_bit(x86_feature); in guest_cpu_cap_set()
214 unsigned int x86_leaf = __feature_leaf(x86_feature); in guest_cpu_cap_clear() local
216 vcpu->arch.cpu_caps[x86_leaf] &= ~__feature_bit(x86_feature); in guest_cpu_cap_clear()
[all …]