Skip to content

powerpc/kexec: split CONFIG_CRASH_DUMP out from CONFIG_KEXEC_CORE

Hari Bathini kexec linuxppc-dev lkml 2 versions – Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Fixed a compile error for POWERNV build reported by Sourabh.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3kexec/kdump: make struct crash_mem available without CONFIG_CRASH_DUMPinclude/linux/crash_core.h+6 -61 reply
2/3powerpc/kexec: split CONFIG_KEXEC_FILE and CONFIG_CRASH_DUMParch/powerpc/kexec/elf_64.c arch/powerpc/kexec/file_load_64.c+142 -1310 replies
3/3powerpc/kdump: Split KEXEC_CORE and CRASH_DUMP dependencyarch/powerpc/Kconfig arch/powerpc/include/asm/kexec.h arch/powerpc/kernel/prom.c +5 more+61 -630 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBaoquan He
1/3A-b
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH linux-next v2 0/3] powerpc/kexec: split CONFIG_CRASH_DUMP out from CONFIG_KEXEC_CORE

This patch series is a follow-up to [1] based on discussions at [2] about additional work needed to get it working on powerpc.

The first patch in the series makes struct crash_mem available with or without CONFIG_CRASH_DUMP enabled. The next patch moves kdump specific code for kexec_file_load syscall under CONFIG_CRASH_DUMP and the last patch splits other kdump specific code under CONFIG_CRASH_DUMP and removes dependency with CONFIG_CRASH_DUMP for CONFIG_KEXEC_CORE.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Changes in v2:
* Fixed a compile error for POWERNV build reported by Sourabh.

Hari Bathini (3):
kexec/kdump: make struct crash_mem available without CONFIG_CRASH_DUMP powerpc/kexec: split CONFIG_KEXEC_FILE and CONFIG_CRASH_DUMP powerpc/kdump: Split KEXEC_CORE and CRASH_DUMP dependency

 arch/powerpc/Kconfig                 |   9 +-
 arch/powerpc/include/asm/kexec.h     |  98 +++++-----
 arch/powerpc/kernel/prom.c           |   2 +-
 arch/powerpc/kernel/setup-common.c   |   2 +-
 arch/powerpc/kernel/smp.c            |   4 +-
 arch/powerpc/kexec/Makefile          |   3 +-
 arch/powerpc/kexec/core.c            |   4 +
 arch/powerpc/kexec/elf_64.c          |   4 +-
 arch/powerpc/kexec/file_load_64.c    | 269 ++++++++++++++-------------
 arch/powerpc/platforms/powernv/smp.c |   2 +-
 include/linux/crash_core.h           |  12 +-
 11 files changed, 209 insertions(+), 200 deletions(-)
Signature · 7 lines
2.43.2


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec