This is the third 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: - 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. 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 | 22 +++++++++++++++++++++- kexec/arch/ppc/kexec-ppc.c | 27 +++++++++++++++++++++++++++ kexec/arch/ppc/kexec-ppc.h | 1 + kexec/arch/ppc64/crashdump-ppc64.c | 21 +++++++++++++++++++++ kexec/arch/ppc64/kexec-ppc64.c | 27 +++++++++++++++++++++++++++ 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 | 20 ++++++++++++++++++++ kexec/kexec.h | 4 +++- 17 files changed, 167 insertions(+), 2 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