| /linux/arch/x86/kernel/cpu/ |
| 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/arch/x86/include/asm/ |
| A D | cpuid.h | 130 static inline void __cpuid_read(unsigned int leaf, unsigned int subleaf, u32 *regs) in __cpuid_read() argument 133 regs[CPUID_ECX] = subleaf; in __cpuid_read() 137 #define cpuid_subleaf(leaf, subleaf, regs) { \ argument 139 __cpuid_read(leaf, subleaf, (u32 *)(regs)); \ 147 static inline void __cpuid_read_reg(unsigned int leaf, unsigned int subleaf, in __cpuid_read_reg() argument 152 __cpuid_read(leaf, subleaf, regs); in __cpuid_read_reg() 156 #define cpuid_subleaf_reg(leaf, subleaf, regidx, reg) { \ argument 158 __cpuid_read_reg(leaf, subleaf, regidx, (u32 *)(reg)); \
|
| /linux/tools/arch/x86/kcpuid/ |
| A D | kcpuid.c | 49 struct subleaf { struct 62 struct subleaf *leafs; argument 133 struct subleaf *leaf; in cpuid_store() 163 leaf->sub = subleaf; in cpuid_store() 200 u32 max_func, idx_func, subleaf, max_subleaf; in setup_cpuid_range() local 230 subleaf = ecx = 0; in setup_cpuid_range() 259 for (subleaf = 1; subleaf < max_subleaf; subleaf++) { in setup_cpuid_range() 261 ecx = subleaf; in setup_cpuid_range() 264 allzero = cpuid_store(range, f, subleaf, in setup_cpuid_range() 289 struct subleaf *leaf; in parse_line() [all …]
|
| A D | cpuid.csv | 332 0xb, 1:0, ecx, 7:0, domain_nr , This domain level (subleaf ID) 369 …0xd, 63:2, eax, 31:0, xsave_sz , Size of save area for subleaf-N feature… 370 …0xd, 63:2, ebx, 31:0, xsave_offset , Offset of save area for subleaf-N featu… 447 0x14, 0, eax, 31:0, pt_max_subleaf , Max cpuid 0x14 subleaf 484 0x17, 0, eax, 31:0, soc_max_subleaf , Max cpuid leaf 0x17 subleaf 497 0x18, 31:0, eax, 31:0, tlb_max_subleaf , Max cpuid 0x18 subleaf 531 0x1b, 31:0, eax, 11:0, pconfig_subleaf_type , CPUID 0x1b subleaf type 560 0x1d, 0, eax, 31:0, amx_max_palette , Highest palette ID / subleaf ID 578 0x1f, 5:0, ecx, 7:0, domain_level , This domain level (subleaf ID) 585 0x20, 0, eax, 31:0, hreset_nr_subleaves , CPUID 0x20 max subleaf + 1 [all …]
|
| /linux/tools/perf/arch/x86/tests/ |
| 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/ |
| A D | core.c | 247 u32 eax, ebx, ecx, edx, subleaf; in __rdt_get_mem_config_amd() local 253 subleaf = (r->rid == RDT_RESOURCE_SMBA) ? 2 : 1; in __rdt_get_mem_config_amd() 255 cpuid_count(0x80000020, subleaf, &eax, &ebx, &ecx, &edx); in __rdt_get_mem_config_amd()
|