Found it! There are no calls to scheduler_ipi() from the MIPS parts in vanilla
From: Mikael Starvik
Sent: den 20 februari 2012 10:34
Subject: SMP MIPS and Linux 3.2
I'm running Linux 3.2 on a MIPS 34K with two VPEs (in MT_SMP configuration). It
works fine in UP but with SMP it deadlocks during bootup (both CPUs gets idle).
Typically like this:
[ 0.090000] CPU revision is: 01019550 (MIPS 34Kc) [ 0.090000] Primary
instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32
bytes [ 0.170000] Brought up 2 CPUs <No more output>
I have tried to enable __ARCH_WANT_INTERRUPTS_ON_CTXSW but that didn't improve
anything. Anyone else got this running or have any thoughts about what the
problem may be?