Home
last modified time | relevance | path

Searched refs:tscan (Results 1 – 2 of 2) 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
94 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()
97 leaf, subleaf, 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()
104 static bool parse_topology_leaf(struct topo_scan *tscan, u32 leaf) in parse_topology_leaf() argument
110 for (subleaf = 0, last_dom = 0; topo_subleaf(tscan, leaf, subleaf, &last_dom); subleaf++); in parse_topology_leaf()
121 if (!tscan->dom_shifts[TOPO_SMT_DOMAIN] && tscan->dom_ncpus[TOPO_SMT_DOMAIN] > 1) { in parse_topology_leaf()
122 unsigned int sft = get_count_order(tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
125 leaf, tscan->dom_ncpus[TOPO_SMT_DOMAIN]); in parse_topology_leaf()
[all …]
H 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()