Home
last modified time | relevance | path

Searched refs:tscan (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/kernel/cpu/
A Dtopology_amd.c58 tscan->amd_node_id = node_id; in store_node()
102 if (tscan->c->x86 == 0x15) in parse_8000_001e()
147 tscan->c->topo.llc_id = apicid >> tscan->dom_shifts[TOPO_CORE_DOMAIN]; in legacy_set_llc()
152 struct cpuinfo_x86 *c = tscan->c; in topoext_fixup()
193 parse_fam10h_node_id(tscan); in parse_topology_amd()
198 tscan->amd_nodes_per_pkg = 1; in cpu_parse_topology_amd()
199 topoext_fixup(tscan); in cpu_parse_topology_amd()
200 parse_topology_amd(tscan); in cpu_parse_topology_amd()
201 legacy_set_llc(tscan); in cpu_parse_topology_amd()
215 if (tscan->c->x86 < 0x17 && tscan->amd_nodes_per_pkg > 1) in cpu_topology_fixup_amd()
[all …]
A Dtopology_common.c25 tscan->dom_shifts[dom] = tscan->dom_shifts[dom - 1]; in topology_set_dom()
26 tscan->dom_ncpus[dom] = tscan->dom_ncpus[dom - 1]; in topology_set_dom()
51 struct cpuinfo_x86 *c = tscan->c; in parse_legacy()
100 if (fake_topology(tscan)) in parse_topology()
130 parse_legacy(tscan); in parse_topology()
134 parse_legacy(tscan); in parse_topology()
163 cpu_topology_fixup_amd(tscan); in topo_set_ids()
171 parse_topology(&tscan, false); in cpu_parse_topology()
192 topo_set_ids(&tscan, false); in cpu_parse_topology()
200 parse_topology(&tscan, true); in cpu_init_topology()
[all …]
A Dtopology_ext.c94 tscan->c->topo.initial_apicid = sl.x2apic_id; in topo_subleaf()
95 } else if (tscan->c->topo.initial_apicid != sl.x2apic_id) { in topo_subleaf()
100 topology_set_dom(tscan, dom, sl.x2apic_shift, sl.num_processors); in topo_subleaf()
121 if (!tscan->dom_shifts[TOPO_SMT_DOMAIN] && tscan->dom_ncpus[TOPO_SMT_DOMAIN] > 1) { in parse_topology_leaf()
125 leaf, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
126 topology_update_dom(tscan, TOPO_SMT_DOMAIN, sft, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
129 set_cpu_cap(tscan->c, X86_FEATURE_XTOPOLOGY); in parse_topology_leaf()
133 bool cpu_parse_topology_ext(struct topo_scan *tscan) in cpu_parse_topology_ext() argument
136 if (tscan->c->cpuid_level >= 0x1f && parse_topology_leaf(tscan, 0x1f)) in cpu_parse_topology_ext()
140 if (tscan->c->extended_cpuid_level >= 0x80000026 && parse_topology_leaf(tscan, 0x80000026)) in cpu_parse_topology_ext()
[all …]
A Dtopology.h20 void topology_set_dom(struct topo_scan *tscan, enum x86_topology_domains dom,
22 bool cpu_parse_topology_ext(struct topo_scan *tscan);
23 void cpu_parse_topology_amd(struct topo_scan *tscan);
24 void cpu_topology_fixup_amd(struct topo_scan *tscan);
49 static inline void topology_update_dom(struct topo_scan *tscan, enum x86_topology_domains dom, in topology_update_dom() argument
52 tscan->dom_shifts[dom] = shift; in topology_update_dom()
53 tscan->dom_ncpus[dom] = ncpus; in topology_update_dom()

Completed in 10 milliseconds