[PATCH] powerpc/smp: Wait until secondaries are active & online

Stewart Smith stewart at linux.vnet.ibm.com
Thu Feb 26 08:51:10 AEDT 2015


Michael Ellerman <mpe at ellerman.id.au> writes:
> Anton has a busy ppc64le KVM box where guests sometimes hit the infamous
> "kernel BUG at kernel/smpboot.c:134!" issue during boot:
>
>   BUG_ON(td->cpu != smp_processor_id());
>
> Basically a per CPU hotplug thread scheduled on the wrong CPU. The oops
> output confirms it:
>
>   CPU: 0
>   Comm: watchdog/130

Has anyone seen this on powernv before?

I seem to be able to very reliably get such crashes with my
(experimental) gcov enabled skiboot on P7 (and P8, but I've had more
time on P7 than P8).

Hoping to try the patch later today.



More information about the Linuxppc-dev mailing list