Home
last modified time | relevance | path

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

/linux/arch/parisc/kernel/
A Dtopology.c39 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks()
44 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
46 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
71 if (cpuid_topo->core_id != -1) in store_cpu_topology()
75 cpuid_topo->thread_id = -1; in store_cpu_topology()
76 cpuid_topo->core_id = 0; in store_cpu_topology()
86 cpuid_topo->core_id = cpu_topology[cpu].core_id; in store_cpu_topology()
88 cpuid_topo->core_id++; in store_cpu_topology()
95 if (cpuid_topo->socket_id == -1) in store_cpu_topology()
99 if (cpuid_topo->socket_id == -1) in store_cpu_topology()
[all …]
/linux/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/arch/arm64/kernel/
A Dtopology.c27 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
30 if (cpuid_topo->package_id != -1) in store_cpu_topology()
53 cpuid_topo->thread_id = -1; in store_cpu_topology()
54 cpuid_topo->core_id = cpuid; in store_cpu_topology()
55 cpuid_topo->package_id = cpu_to_node(cpuid); in store_cpu_topology()
58 cpuid, cpuid_topo->package_id, cpuid_topo->core_id, in store_cpu_topology()
59 cpuid_topo->thread_id, mpidr); in store_cpu_topology()
/linux/drivers/base/
A Darch_topology.c607 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
614 if (cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks()
615 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
619 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
622 if (cpuid_topo->cluster_id == cpu_topo->cluster_id && in update_siblings_masks()
623 cpuid_topo->cluster_id != -1) { in update_siblings_masks()
624 cpumask_set_cpu(cpu, &cpuid_topo->cluster_sibling); in update_siblings_masks()
629 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
631 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
635 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()

Completed in 7 milliseconds