Lines Matching defs:cluster
56 /* Collapse cpus in a cluster so a single IPI per cluster is sent */
68 /* Remove cluster CPUs from tmpmask */
105 static void prefill_clustermask(struct cpumask *cmsk, unsigned int cpu, u32 cluster)
113 if (apicid == BAD_APICID || cpu_i == cpu || apic_cluster(apicid) != cluster)
124 static int alloc_clustermask(unsigned int cpu, u32 cluster, int node)
130 * At boot time, the CPU present mask is stable. The cluster mask is
131 * allocated for the first CPU in the cluster and propagated to all
132 * present siblings in the cluster. If the cluster mask is already set
144 * any more) to find any existing cluster mask.
149 if (apicid != BAD_APICID && apic_cluster(apicid) == cluster) {
152 * If the cluster is already initialized, just store
162 * No CPU in the cluster has ever been initialized, so fall through to
163 * the boot time code which will also populate the cluster mask for any
164 * other CPU in the cluster which is (now) present.
171 prefill_clustermask(cmsk, cpu, cluster);
179 u32 cluster = apic_cluster(phys_apicid);
180 u32 logical_apicid = (cluster << 16) | (1 << (phys_apicid & 0xf));
184 if (alloc_clustermask(cpu, cluster, cpu_to_node(cpu)) < 0)
226 .name = "cluster x2apic",