Skip to content

some boot/shutdown improvements

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/powernv: Avoid the secondary hold spinloop for OPAL bootarch/powerpc/kernel/head_64.S arch/powerpc/kernel/setup_64.c+15 -36 replies
2/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 -380 replies
3/3powerpc: use NMI IPI for smp_send_stoparch/powerpc/kernel/smp.c+5 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] some boot/shutdown improvements

Hi,

These are a couple of improvements to powernv/opal boot and shutdown paths. Also a patch to move smp_send_stop over to use NMI IPIs, which gives us a significantly better chance to stop secondaries on platforms which support it (pSeries and PowerNV POWER9 so far).

Patch 1 in particular it would be good if people could take a look at. I *think* it's okay wrt kexec, but I could miss something or some old firmware might do the wrong thing.

Thanks,
Nick

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

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