Searched refs:x86_feature (Results 1 – 1 of 1) sorted by relevance
59 static __always_inline struct cpuid_reg x86_feature_cpuid(unsigned x86_feature) in x86_feature_cpuid() argument61 unsigned x86_leaf = x86_feature / 32; in x86_feature_cpuid()69 static __always_inline int *guest_cpuid_get_register(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_get_register() argument72 const struct cpuid_reg cpuid = x86_feature_cpuid(x86_feature); in guest_cpuid_get_register()93 static __always_inline bool guest_cpuid_has(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_has() argument97 if (x86_feature == X86_FEATURE_XSAVE && in guest_cpuid_has()101 reg = guest_cpuid_get_register(vcpu, x86_feature); in guest_cpuid_has()105 return *reg & bit(x86_feature); in guest_cpuid_has()108 static __always_inline void guest_cpuid_clear(struct kvm_vcpu *vcpu, unsigned x86_feature) in guest_cpuid_clear() argument112 reg = guest_cpuid_get_register(vcpu, x86_feature); in guest_cpuid_clear()[all …]