Searched refs:cpuid_topo (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/arch/arm/kernel/ |
D | topology.c | 199 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 206 if (cpuid_topo->socket_id != cpu_topo->socket_id) in update_siblings_masks() 211 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 213 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 218 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks() 230 struct cputopo_arm *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local 234 if (cpuid_topo->core_id != -1) in store_cpu_topology() 248 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology() 249 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology() 250 cpuid_topo->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in store_cpu_topology() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | topology.c | 216 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; in update_siblings_masks() local 223 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) in update_siblings_masks() 228 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 230 if (cpuid_topo->core_id != cpu_topo->core_id) in update_siblings_masks() 235 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks() 241 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; in store_cpu_topology() local 244 if (cpuid_topo->cluster_id != -1) in store_cpu_topology() 256 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology() 257 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology() 258 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | in store_cpu_topology() [all …]
|