Home
last modified time | relevance | path

Searched refs:subleaf (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/x86/kernel/cpu/
Dtopology_ext.c45 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-6.12.1/arch/x86/include/asm/
Dcpuid.h130 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-6.12.1/tools/arch/x86/kcpuid/
Dkcpuid.c49 struct subleaf { struct
62 struct subleaf *leafs; argument
114 static void leaf_print_raw(struct subleaf *leaf) in leaf_print_raw()
129 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in cpuid_store() argument
133 struct subleaf *leaf; in cpuid_store()
146 func->leafs = malloc(sizeof(struct subleaf)); 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()
233 allzero = cpuid_store(range, f, subleaf, eax, ebx, ecx, edx); in setup_cpuid_range()
[all …]
Dcpuid.csv332 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…
372 …0xd, 63:2, ecx, 1, compacted_xsave_64byte_aligned, When compacted, subleaf-N featur…
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)
[all …]
/linux-6.12.1/tools/perf/arch/x86/tests/
Dintel-pt-test.c352 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-6.12.1/arch/x86/kernel/cpu/resctrl/
Dcore.c247 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()