Skip to content

MIPS: kexec/kdump: Fix smp reboot and other issues

Dengcheng Zhu linux-mips 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 2 repliesIn review
  2. v46 patches 10 repliesSuperseded
  3. v36 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches2 repliesSuperseded
v14 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5MIPS: kexec: Mark CPU offline before disabling local IRQarch/mips/kernel/crash.c arch/mips/kernel/machine_kexec.c+6 -00 replies
2/5MIPS: kexec: Make a framework for both jumping and halting on nonboot CPUsarch/mips/cavium-octeon/smp.c arch/mips/include/asm/kexec.h arch/mips/include/asm/smp-ops.h +5 more+124 -101 reply
3/5MIPS: kexec: CPS systems to halt nonboot CPUsarch/mips/kernel/smp-cps.c+55 -250 replies
4/5MIPS: kexec: Relax memory restrictionarch/mips/include/asm/kexec.h+3 -30 replies
5/5MIPS: kexec: Use prepare method from Generic for UHI platformsarch/mips/Kconfig arch/mips/generic/Makefile arch/mips/generic/kexec.c +1 more+45 -460 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchRachel Mozes
1/5
2/5
3/5
4/5T-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] MIPS: kexec/kdump: Fix smp reboot and other issues

Hi Paul,

This is a rewrite of the series. Basically patches 1~3 address what we dissussed so far. Now it allows both methods - shutting off the nonboot CPUs and jumping to relocated_kexec_smp_wait on nonboot CPUs.

Caches are flushed before signaling reboot. CPUs are marked offline to prevent getting IPIs. Note that this is done prior to disabling local IRQ.

Patch #4 is unchnaged. Patch #5 is the previous #6 -- I'm still putting it in here with reasons mentioned in our discussion and in the patch description.

Thanks,

Dengcheng Zhu (5):
MIPS: kexec: Mark CPU offline before disabling local IRQ
MIPS: kexec: Make a framework for both jumping and halting on nonboot
CPUs
MIPS: kexec: CPS systems to halt nonboot CPUs
MIPS: kexec: Relax memory restriction
MIPS: kexec: Use prepare method from Generic for UHI platforms

 arch/mips/Kconfig                     |   4 +
 arch/mips/cavium-octeon/smp.c         |   7 ++
 arch/mips/generic/Makefile            |   1 -
 arch/mips/generic/kexec.c             |  44 ---------
 arch/mips/include/asm/kexec.h         |  11 ++-
 arch/mips/include/asm/smp-ops.h       |   3 +
 arch/mips/include/asm/smp.h           |  16 ++++
 arch/mips/kernel/crash.c              |   7 +-
 arch/mips/kernel/machine_kexec.c      | 131 ++++++++++++++++++++++++--
 arch/mips/kernel/smp-bmips.c          |   7 ++
 arch/mips/kernel/smp-cps.c            |  80 +++++++++++-----
 arch/mips/loongson64/loongson-3/smp.c |   4 +
 12 files changed, 232 insertions(+), 83 deletions(-)
 delete mode 100644 arch/mips/generic/kexec.c
Signature · 1 line
2.17.1