Lines Matching +full:0 +full:xb
3 * Check for extended topology enumeration cpuid leaf 0xb and if it
15 /* leaf 0xb SMT level */
16 #define SMT_LEVEL 0
19 #define INVALID_TYPE 0
24 #define LEAFB_SUBTYPE(ecx) (((ecx) >> 8) & 0xff)
25 #define BITS_SHIFT_NEXT_LEVEL(eax) ((eax) & 0x1f)
26 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff)
41 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in check_extended_topology_leaf()
44 return 0; in check_extended_topology_leaf()
51 if (c->cpuid_level >= 0x1f) { in detect_extended_topology_leaf()
52 if (check_extended_topology_leaf(0x1f) == 0) in detect_extended_topology_leaf()
53 return 0x1f; in detect_extended_topology_leaf()
56 if (c->cpuid_level >= 0xb) { in detect_extended_topology_leaf()
57 if (check_extended_topology_leaf(0xb) == 0) in detect_extended_topology_leaf()
58 return 0xb; in detect_extended_topology_leaf()
72 if (leaf < 0) in detect_extended_topology_early()
84 return 0; in detect_extended_topology_early()
102 if (leaf < 0) in detect_extended_topology()
106 * Populate HT related information from sub-leaf level 0. in detect_extended_topology()
149 c->apicid = apic->phys_pkg_id(c->initial_apicid, 0); in detect_extended_topology()
154 return 0; in detect_extended_topology()