Subject: Re: [v2, 3/3] powerpc/powernv: Avoid waiting for secondary hold spinloop with OPAL

From: Michael Ellerman <[email-masked]>
Date: Tue, 14 Nov 2017 22:12:08 +1100 (AEDT)

On Mon, 2017-10-23 at 08:05:07 UTC, Nicholas Piggin wrote:
> OPAL boot does not insert secondaries at 0x60 to wait at the secondary
> hold spinloop. Instead they are started later, and inserted at
> generic_secondary_smp_init(), which is after the secondary hold
> spinloop.
> 
> Avoid waiting on this spinloop when booting with OPAL firmware. This
> wait always times out that case.
> 
> This saves 100ms boot time on powernv, and 10s of seconds of real time
> when booting on the simulator in SMP.
> 
> Signed-off-by: Nicholas Piggin <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/339a3293f4e493a6c40f71e4faab0c

cheers