Skip to content

avoid secondary hold spinloop when possible

Nicholas Piggin linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 5 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3powerpc/powernv: Always stop secondaries before reboot/shutdownarch/powerpc/include/asm/opal.h arch/powerpc/platforms/powernv/opal-flash.c arch/powerpc/platforms/powernv/setup.c+7 -383 replies
2/3powerpc: use NMI IPI for smp_send_stoparch/powerpc/kernel/smp.c+5 -41 reply
3/3powerpc/powernv: Avoid waiting for secondary hold spinloop with OPALarch/powerpc/kernel/head_64.S arch/powerpc/kernel/setup_64.c+20 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] avoid secondary hold spinloop when possible

I've made this series only avoid the secondary spinloop on powernv. pSeries is a little bit more complicated, some cases in kexec the secondaries will be at 0x60. I haven't had time to get all that sorted out for this merge window, so OPAL-only this time.

Nicholas Piggin (3):
powerpc/powernv: Always stop secondaries before reboot/shutdown
powerpc: use NMI IPI for smp_send_stop
powerpc/powernv: Avoid waiting for secondary hold spinloop with OPAL

 arch/powerpc/include/asm/opal.h             |  2 +-
 arch/powerpc/kernel/head_64.S               | 16 +++++++++++-----
 arch/powerpc/kernel/setup_64.c              | 10 +++++++++-
 arch/powerpc/kernel/smp.c                   |  9 +++++----
 arch/powerpc/platforms/powernv/opal-flash.c | 28 +---------------------------
 arch/powerpc/platforms/powernv/setup.c      | 15 +++++----------
 6 files changed, 32 insertions(+), 48 deletions(-)
Signature · 1 line
2.13.3