Home
last modified time | relevance | path

Searched hist:"339 a3293f4e493a6c40f71e4faab0c8389174313" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dhead_64.Sdiff 339a3293f4e493a6c40f71e4faab0c8389174313 Mon Oct 23 03:05:07 CDT 2017 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: Avoid waiting for secondary hold spinloop with OPAL

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 <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
H A Dsetup_64.cdiff 339a3293f4e493a6c40f71e4faab0c8389174313 Mon Oct 23 03:05:07 CDT 2017 Nicholas Piggin <npiggin@gmail.com> powerpc/powernv: Avoid waiting for secondary hold spinloop with OPAL

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 <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>