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

/linux-4.4.14/arch/arm64/kernel/
H A Dtopology.c216 struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; update_siblings_masks() local
223 if (cpuid_topo->cluster_id != cpu_topo->cluster_id) for_each_possible_cpu()
228 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); for_each_possible_cpu()
230 if (cpuid_topo->core_id != cpu_topo->core_id) for_each_possible_cpu()
235 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); for_each_possible_cpu()
241 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; store_cpu_topology() local
244 if (cpuid_topo->cluster_id != -1) store_cpu_topology()
256 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); store_cpu_topology()
257 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); store_cpu_topology()
258 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2) | store_cpu_topology()
262 cpuid_topo->thread_id = -1; store_cpu_topology()
263 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); store_cpu_topology()
264 cpuid_topo->cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1) | store_cpu_topology()
270 cpuid, cpuid_topo->cluster_id, cpuid_topo->core_id, store_cpu_topology()
271 cpuid_topo->thread_id, mpidr); store_cpu_topology()
/linux-4.4.14/arch/arm/kernel/
H A Dtopology.c199 struct cputopo_arm *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; update_siblings_masks() local
206 if (cpuid_topo->socket_id != cpu_topo->socket_id) for_each_possible_cpu()
211 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); for_each_possible_cpu()
213 if (cpuid_topo->core_id != cpu_topo->core_id) for_each_possible_cpu()
218 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); for_each_possible_cpu()
230 struct cputopo_arm *cpuid_topo = &cpu_topology[cpuid]; store_cpu_topology() local
234 if (cpuid_topo->core_id != -1) store_cpu_topology()
248 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); store_cpu_topology()
249 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); store_cpu_topology()
250 cpuid_topo->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); store_cpu_topology()
253 cpuid_topo->thread_id = -1; store_cpu_topology()
254 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); store_cpu_topology()
255 cpuid_topo->socket_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); store_cpu_topology()
263 cpuid_topo->thread_id = -1; store_cpu_topology()
264 cpuid_topo->core_id = 0; store_cpu_topology()
265 cpuid_topo->socket_id = -1; store_cpu_topology()

Completed in 156 milliseconds