Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/
H A 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/tools/arch/x86/kcpuid/
H A Dkcpuid.c52 struct subleaf { struct
65 struct subleaf *leafs; argument
142 #define cpuid_count(leaf, subleaf, a, b, c, d) \ argument
143 __cpuid_count(leaf, subleaf, a, b, c, d)
160 static void leaf_print_raw(struct subleaf *leaf) in leaf_print_raw()
175 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in cpuid_store() argument
179 struct subleaf *leaf; in cpuid_store()
192 func->leafs = malloc(sizeof(struct subleaf)); in cpuid_store()
209 leaf->sub = subleaf; in cpuid_store()
294 for (u32 subleaf = 1; subleaf < max_subleaf; subleaf++) { in setup_cpuid_range() local
[all …]
H A Dcpuid.csv333 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…
371 …0xd, 63:2, ebx, 31:0, xsave_offset , Offset of save area for subleaf-N featu…
373 …0xd, 63:2, ecx, 1, compacted_xsave_64byte_aligned, When compacted, subleaf-N featur…
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 ID)
[all …]
/linux/arch/x86/include/asm/cpuid/
H A Dapi.h127 static inline void __cpuid_read(u32 leaf, u32 subleaf, u32 *regs) in __cpuid_read() argument
130 regs[CPUID_ECX] = subleaf; in __cpuid_read()
134 #define cpuid_subleaf(leaf, subleaf, regs) { \ argument
136 __cpuid_read(leaf, subleaf, (u32 *)(regs)); \
144 static inline void __cpuid_read_reg(u32 leaf, u32 subleaf, in __cpuid_read_reg() argument
149 __cpuid_read(leaf, subleaf, regs); in __cpuid_read_reg()
153 #define cpuid_subleaf_reg(leaf, subleaf, regidx, reg) { \ argument
155 __cpuid_read_reg(leaf, subleaf, regidx, (u32 *)(reg)); \
/linux/tools/perf/arch/x86/tests/
H A 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/arch/x86/kernel/cpu/resctrl/
H A Dcore.c239 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()