Lines Matching defs:leaf
333 static __always_inline void kvm_cpu_cap_mask(enum cpuid_leafs leaf, u32 mask)
335 const struct cpuid_reg cpuid = x86_feature_cpuid(leaf * 32);
338 reverse_cpuid_check(leaf);
339 kvm_cpu_caps[leaf] &= mask;
344 kvm_cpu_caps[leaf] &= *__cpuid_entry_get_reg(&entry, cpuid.reg);
610 /* Limited to the highest leaf implemented in KVM. */
1019 * Intel CPUID semantics treats any query for an out-of-range leaf as if the
1020 * highest basic leaf (i.e. CPUID.0H:EAX) were requested. AMD CPUID semantics
1021 * returns all zeroes for any undefined leaf, whether or not the leaf is in
1024 * A leaf is considered out-of-range if its function is higher than the maximum
1025 * supported leaf of its associated class or if its associated class does not
1030 * class exists if a guest CPUID entry for its <base> leaf exists. For a given
1031 * class, CPUID.<base>.EAX contains the max supported leaf for the class.
1072 * max basic entry, e.g. if the max basic leaf is 0xb but there is no
1080 * the effective CPUID entry is the max basic leaf. Note, the index of
1081 * the original requested leaf is observed!
1115 * When leaf 0BH or 1FH is defined, CL is pass-through
1117 * subleaves. Index 1 will exist iff the leaf is
1118 * implemented, so we pass through CL iff leaf 1