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

/linux-master/arch/x86/kernel/cpu/
H A Dintel_pconfig.c44 int subleaf; local
54 * Stop on the first invalid subleaf type. All subleafs after the first
57 for (subleaf = 0; subleaf < INT_MAX; subleaf++) {
60 cpuid_count(PCONFIG_CPUID, subleaf,
65 /* Stop on the first invalid subleaf */
77 /* Unknown CPUID.PCONFIG subleaf: ignore */
H A Dtopology_ext.c35 static inline bool topo_subleaf(struct topo_scan *tscan, u32 leaf, u32 subleaf, argument
62 cpuid_subleaf(leaf, subleaf, &sl);
69 leaf, subleaf, sl.type);
85 pr_warn_once(FW_BUG "CPUID leaf 0x%x subleaf %d APIC ID mismatch %x != %x\n",
86 leaf, subleaf, tscan->c->topo.initial_apicid, sl.x2apic_id);
96 u32 subleaf; local
99 for (subleaf = 0, last_dom = 0; topo_subleaf(tscan, leaf, subleaf, &last_dom); subleaf++);
101 /* If subleaf
[all...]
/linux-master/arch/x86/include/asm/
H A Dcpuid.h130 static inline void __cpuid_read(unsigned int leaf, unsigned int subleaf, u32 *regs) argument
133 regs[CPUID_ECX] = subleaf;
137 #define cpuid_subleaf(leaf, subleaf, regs) { \
139 __cpuid_read(leaf, subleaf, (u32 *)(regs)); \
147 static inline void __cpuid_read_reg(unsigned int leaf, unsigned int subleaf, argument
152 __cpuid_read(leaf, subleaf, regs);
156 #define cpuid_subleaf_reg(leaf, subleaf, regidx, reg) { \
158 __cpuid_read_reg(leaf, subleaf, regidx, (u32 *)(reg)); \
/linux-master/tools/arch/x86/kcpuid/
H A Dkcpuid.c48 struct subleaf { struct
61 struct subleaf *leafs;
124 static void leaf_print_raw(struct subleaf *leaf)
139 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, argument
143 struct subleaf *leaf;
156 func->leafs = malloc(sizeof(struct subleaf));
173 leaf->sub = subleaf;
211 int subleaf; local
243 subleaf = ecx = 0;
246 allzero = cpuid_store(range, f, subleaf, ea
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c352 struct cpuid_result subleaf[INTEL_PT_SUBLEAF_CNT]; member in struct:pt_caps
367 pr_debug("CPU %d CPUID leaf 20 subleaf %d\n", cpu, i);
372 caps->subleaf[i] = r;
385 pr_debug("Is %shybrid : CPUID leaf 7 subleaf 0 edx %#x (bit-15 indicates hybrid)\n",
393 .subleaf = {
410 m = mask.subleaf[i].reg[j];
411 reg = m & caps->subleaf[i].reg[j];
412 reg0 = m & caps0->subleaf[i].reg[j];
414 pr_debug("CPU %d subleaf %d reg %d FAIL %#x vs %#x\n",
422 reg = m & caps->subleaf[
[all...]
/linux-master/arch/x86/kernel/cpu/resctrl/
H A Dcore.c242 u32 eax, ebx, ecx, edx, subleaf; local
248 subleaf = (r->rid == RDT_RESOURCE_SMBA) ? 2 : 1;
250 cpuid_count(0x80000020, subleaf, &eax, &ebx, &ecx, &edx);

Completed in 343 milliseconds