[PATCH] powerpc/smp: Fix Non-boot cpus cannot be bring up.

Aaro Koskinen aaro.koskinen at iki.fi
Fri Dec 26 23:09:43 AEDT 2014


Hi,

On Mon, Dec 22, 2014 at 02:38:40PM +0800, Dongsheng Wang wrote:
> From: Wang Dongsheng <dongsheng.wang at freescale.com>
> 
> Kernel cannot bring up Non-boot cpus always get "Processor xx is stuck".
> this issue bring by http://patchwork.ozlabs.org/patch/418912/ (powerpc:
> Secondary CPUs must set cpu_callin_map after setting active and online)
> We need to take timebase after bootup cpu give the timebase firstly.
> 
> When start_secondary, non-boot cpus set cpu_callin_map for boot cpu
> after that boot cpu will give the timebase for non-boot cpu. Otherwise
> non-boot cpus will fall in dead loop to waiting bootup cpu to give
> imebase.
> 
> Signed-off-by: Wang Dongsheng <dongsheng.wang at freescale.com>

This fixes v3.19-rc1 boot on G5 Xserve.

Tested-by: Aaro Koskinen <aaro.koskinen at iki.fi>

A.


More information about the Linuxppc-dev mailing list