[PATCH v4 0/11] kexec: Add option to get crash kernel region size

Eric DeVolder eric.devolder at oracle.com
Tue Feb 14 13:09:12 PST 2017


This is the fourth version of a patch series originally posted by
Daniel Kiper on December 5.

This version differs from the previous version based on feedback
received from the mailing list, as such:

v4: Incorporated feedback:
    - additional changes for coding convention and formatting
v3: Incorporated feedback:
    - changes for coding convention and formatting
    - restructured to introduce get_crash_kernel_load_range() for each
      architecture, and then a single function in kexec/kexec.c to call
      the per-architecture get_crash_kernel_load_range() and print the
      result.
v2: Incorporated feedback:
    - utilize the is_crashkernel_mem_reserved() function common in all archs
    - for ppc and ppc64, utilize device-tree values to print size
    - for unsupported architectures, print appropriate message
v1: Posted to kexec-tools mailing list

Eric


 kexec/arch/arm/crashdump-arm.c     |  5 +++++
 kexec/arch/arm64/crashdump-arm64.c |  6 ++++++
 kexec/arch/cris/kexec-cris.c       |  6 ++++++
 kexec/arch/ia64/crashdump-ia64.c   |  5 +++++
 kexec/arch/m68k/kexec-m68k.c       |  6 ++++++
 kexec/arch/mips/crashdump-mips.c   |  4 ++++
 kexec/arch/ppc/crashdump-powerpc.c | 27 ++++++++++++++++++++++++++-
 kexec/arch/ppc/kexec-ppc.c         | 28 ++++++++++++++++++++++++++++
 kexec/arch/ppc/kexec-ppc.h         |  1 +
 kexec/arch/ppc64/crashdump-ppc64.c | 27 ++++++++++++++++++++++++++-
 kexec/arch/ppc64/kexec-ppc64.c     | 28 ++++++++++++++++++++++++++++
 kexec/arch/ppc64/kexec-ppc64.h     |  2 ++
 kexec/arch/s390/kexec-s390.c       |  5 +++++
 kexec/arch/sh/crashdump-sh.c       |  5 +++++
 kexec/kexec.8                      |  3 +++
 kexec/kexec.c                      | 19 +++++++++++++++++++
 kexec/kexec.h                      |  4 +++-
 17 files changed, 178 insertions(+), 3 deletions(-)

Daniel Kiper (10):
      crashdump/arm: Add get_crash_kernel_load_range() function
      crashdump/cris: Add get_crash_kernel_load_range() function
      crashdump/ia64: Add get_crash_kernel_load_range() function
      crashdump/m68k: Add get_crash_kernel_load_range() function
      crashdump/mips: Add get_crash_kernel_load_range() function
      crashdump/ppc: Add get_crash_kernel_load_range() function
      crashdump/ppc64: Add get_crash_kernel_load_range() function
      crashdump/s390: Add get_crash_kernel_load_range() function
      crashdump/sh: Add get_crash_kernel_load_range() function
      kexec: Add option to get crash kernel region size

Eric DeVolder (1):
      crashdump/arm64: Add get_crash_kernel_load_range() function




More information about the kexec mailing list