x86, apic: Fix unmasked CPU initialization
PATCH 1/1 x86, apic: Fix unmasked CPU initialization
Commit 4ba2968420fa removed the application of the CPU mask resulting in a hang when initializing the first CPU at boot:
x86: Booting SMP configuration
.... node #0, CPUs: #1_
Fixes 4ba2968420fa ("percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t")
Signed-off-by Ted Percival <[email protected]>
--- arch/x86/kernel/apic/x2apic_cluster.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kernel/apic/x2apic_cluster.c +1 -0
@@ -43,6 +43,7 @@ __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest)* and be sure it's manipulated with irq off. */ ipi_mask_ptr =this_cpu_cpumask_var_ptr (ipi_mask); +cpumask_copy (ipi_mask_ptr, mask);/* * The idea is to send one IPI per cluster.
Signature · 1 line
1.9.1
Quoted 2 lines · Ted Percival
Commit
4ba2968420faremoved the application of the CPU mask resulting in a hang when initializing the first CPU at boot:
Argh.
Reviewed-by Christoph Lameter <[email protected]>
Quoted 7 lines · Ted Percival
Commit
4ba2968420faremoved the application of the CPU mask resulting in a hang when initializing the first CPU at boot:x86: Booting SMP configuration
.... node #0, CPUs: #1_Fixes 4ba2968420fa ("percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t")
I can't find that commit in any of my trees.
Thanks,
tglx