Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dtopology.c32 struct cputopo_parisc *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
39 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()
51 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
65 struct cputopo_parisc *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
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 in store_cpu_topology()
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H 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 in store_cpu_topology()
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
H 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 in store_cpu_topology()
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
H 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 in store_cpu_topology()
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Darch_topology.c511 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
518 if (cpu_topo->llc_id != -1 && cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks()
519 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
523 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
527 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
529 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks()
533 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
602 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local
604 if (cpuid_topo->package_id != -1) in store_cpu_topology()
607 cpuid_topo in store_cpu_topology()
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Darch_topology.c734 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local
746 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
750 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks()
754 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
756 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks()
759 if (cpuid_topo->cluster_id >= 0) { in update_siblings_masks()
760 cpumask_set_cpu(cpu, &cpuid_topo->cluster_sibling); 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()
856 struct cpu_topology *cpuid_topo in store_cpu_topology() local
[all...]

Completed in 4 milliseconds