Searched refs:cpuid_topo (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/parisc/kernel/ |
D | topology.c | 30 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.1.9/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-6.1.9/drivers/base/ |
D | arch_topology.c | 734 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() 847 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local [all …]
|