| /linux/arch/x86/kernel/cpu/ |
| H A D | topology_ext.c | 45 static inline bool topo_subleaf(struct topo_scan *tscan, u32 leaf, u32 subleaf, in topo_subleaf() argument 73 cpuid_subleaf(leaf, subleaf, &sl); in topo_subleaf() 80 leaf, subleaf, sl.type); in topo_subleaf() 97 leaf, subleaf, tscan->c->topo.initial_apicid, sl.x2apic_id); in topo_subleaf() 107 u32 subleaf; in parse_topology_leaf() local 110 for (subleaf = 0, last_dom = 0; topo_subleaf(tscan, leaf, subleaf, &last_dom); subleaf++); in parse_topology_leaf() 113 if (!subleaf) in parse_topology_leaf()
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | kcpuid.c | 52 struct subleaf { 65 struct subleaf *leafs; 142 #define cpuid_count(leaf, subleaf, a, b, c, d) \ in cpuid_store() 143 __cpuid_count(leaf, subleaf, a, b, c, d) in cpuid_store() 160 static void leaf_print_raw(struct subleaf *leaf) in cpuid_store() 175 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in raw_dump_range() 179 struct subleaf *leaf; in raw_dump_range() 192 func->leafs = malloc(sizeof(struct subleaf)); in raw_dump_range() 209 leaf->sub = subleaf; in setup_cpuid_range() 294 for (u32 subleaf in parse_line() 49 struct subleaf { global() struct 62 infosubleaf global() argument 129 cpuid_store(struct cpuid_range * range,u32 f,int subleaf,u32 a,u32 b,u32 c,u32 d) cpuid_store() argument 200 u32 max_func, idx_func, subleaf, max_subleaf; setup_cpuid_range() local [all...] |
| H A D | cpuid.csv | 333 0xb, 1:0, ecx, 7:0, domain_nr , This domain level (subleaf ID) 370 0xd, 63:2, eax, 31:0, xsave_sz , Size of save area for subleaf-N feature, in bytes 371 0xd, 63:2, ebx, 31:0, xsave_offset , Offset of save area for subleaf-N feature, in bytes 373 0xd, 63:2, ecx, 1, compacted_xsave_64byte_aligned, When compacted, subleaf-N feature XSAVE area is 64-byte aligned 448 0x14, 0, eax, 31:0, pt_max_subleaf , Maximum leaf 0x14 subleaf 485 0x17, 0, eax, 31:0, soc_max_subleaf , Maximum leaf 0x17 subleaf 498 0x18, 31:0, eax, 31:0, tlb_max_subleaf , Maximum leaf 0x18 subleaf 532 0x1b, 31:0, eax, 11:0, pconfig_subleaf_type , CPUID 0x1b subleaf type 561 0x1d, 0, eax, 31:0, amx_max_palette , Highest palette ID / subleaf ID 579 0x1f, 5:0, ecx, 7:0, domain_level , This domain level (subleaf I [all...] |
| /linux/tools/perf/arch/x86/tests/ |
| H A D | intel-pt-test.c | 352 struct cpuid_result subleaf[INTEL_PT_SUBLEAF_CNT]; member 372 caps->subleaf[i] = r; in get_pt_caps() 393 .subleaf = { in compare_caps() 410 m = mask.subleaf[i].reg[j]; in compare_caps() 411 reg = m & caps->subleaf[i].reg[j]; in compare_caps() 412 reg0 = m & caps0->subleaf[i].reg[j]; in compare_caps() 422 reg = m & caps->subleaf[1].eax; in compare_caps() 423 reg0 = m & caps0->subleaf[1].eax; in compare_caps()
|
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | core.c | 239 u32 eax, ebx, ecx, edx, subleaf; in __rdt_get_mem_config_amd() local 245 subleaf = (r->rid == RDT_RESOURCE_SMBA) ? 2 : 1; in __rdt_get_mem_config_amd() 247 cpuid_count(0x80000020, subleaf, &eax, &ebx, &ecx, &edx); in __rdt_get_mem_config_amd()
|