Searched refs:cpuid_topo (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/arch/parisc/kernel/ |
| D | topology.c | 32 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->core_id = cpu_topology[cpu].core_id; in store_cpu_topology() [all …]
|
| /Linux-v5.15/arch/arm/kernel/ |
| D | topology.c | 187 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-v5.15/arch/arm64/kernel/ |
| D | topology.c | 27 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-v5.15/drivers/base/ |
| D | arch_topology.c | 605 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 612 if (cpuid_topo->llc_id == cpu_topo->llc_id) { in update_siblings_masks() 613 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks() 617 if (cpuid_topo->package_id != cpu_topo->package_id) in update_siblings_masks() 621 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 623 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 627 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
|