Home
last modified time | relevance | path

Searched refs:cpuid_topo (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/arch/parisc/kernel/
A Dtopology.c30 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
36 if (cpuid_topo->core_id != -1) in store_cpu_topology()
46 cpuid_topo->thread_id = -1; in store_cpu_topology()
47 cpuid_topo->core_id = 0; in store_cpu_topology()
57 cpuid_topo->core_id = cpu_topology[cpu].core_id; in store_cpu_topology()
59 cpuid_topo->core_id++; in store_cpu_topology()
60 cpuid_topo->package_id = cpu_topology[cpu].package_id; in store_cpu_topology()
65 if (cpuid_topo->package_id == -1) in store_cpu_topology()
69 if (cpuid_topo->package_id == -1) in store_cpu_topology()
70 cpuid_topo->package_id = max_socket + 1; in store_cpu_topology()
/linux-6.3-rc2/arch/arm/kernel/
A Dtopology.c187 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
190 if (cpuid_topo->package_id != -1) in store_cpu_topology()
204 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
205 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
206 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in store_cpu_topology()
209 cpuid_topo->thread_id = -1; in store_cpu_topology()
210 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology()
211 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
219 cpuid_topo->thread_id = -1; in store_cpu_topology()
220 cpuid_topo->core_id = 0; in store_cpu_topology()
[all …]
/linux-6.3-rc2/drivers/base/
A Darch_topology.c746 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
754 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
759 if (cpuid_topo->cluster_id >= 0) { in update_siblings_masks()
764 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
768 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
857 if (cpuid_topo->package_id != -1) in store_cpu_topology()
860 cpuid_topo->thread_id = -1; in store_cpu_topology()
861 cpuid_topo->core_id = cpuid; in store_cpu_topology()
862 cpuid_topo->package_id = cpu_to_node(cpuid); in store_cpu_topology()
865 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
[all …]

Completed in 5 milliseconds