[PATCH v3 0/8] (kexec-tools) arm64: add kdump support
AKASHI Takahiro
takahiro.akashi at linaro.org
Tue Sep 6 21:33:53 PDT 2016
My kernel patches of kdump suport on arm64 are currently under reviews.
This patchset is synced with them (v26 [1]) and provides necessary changes
for kexec-tools. It should be applied on top of Geoff's kexec-tools patches
v5[2] along with a bugfix[3].
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2016-September/454588.html
[2] http://lists.infradead.org/pipermail/kexec/2016-September/017110.html
[3] http://lists.infradead.org/pipermail/kexec/2016-July/016664.html
Changes for v3:
- rebased on Geoff's v5
- fix a value of estimated PHYS_OFFSET
- add a kernel code/data segment because they now reside out of linear
mapping due to KASLR introduction
- remove "linux,usable-memory-range" dependency, instead using
"reserved-memory" node
- add -mem-min/-mem-max support
Changes for v2:
- trim a temoprary buffer in setup_2nd_dtb()
- add patch#6("kexec: generalize and rename get_kernel_stext_sym()")
- update patch#7 from Pratyush
(re-worked by akashi)
AKASHI Takahiro (6):
arm64: identify PHYS_OFFSET correctly
arm64: kdump: identify memory regions
arm64: kdump: add elf core header segment
arm64: kdump: set up kernel image segment
arm64: kdump: set up other segments
arm64: kdump: add DT properties to crash dump kernel's dtb
Pratyush Anand (2):
kexec: generalize and rename get_kernel_stext_sym()
arm64: kdump: Add support for binary image files
kexec/Makefile | 1 +
kexec/arch/arm/crashdump-arm.c | 40 +---
kexec/arch/arm64/Makefile | 2 +
kexec/arch/arm64/crashdump-arm64.c | 358 ++++++++++++++++++++++++++++++++++-
kexec/arch/arm64/crashdump-arm64.h | 20 +-
kexec/arch/arm64/iomem.h | 10 +
kexec/arch/arm64/kexec-arm64.c | 86 +++++++--
kexec/arch/arm64/kexec-elf-arm64.c | 25 ++-
kexec/arch/arm64/kexec-image-arm64.c | 12 ++
kexec/arch/i386/crashdump-x86.c | 32 +---
kexec/kexec.h | 2 +
kexec/symbols.c | 41 ++++
12 files changed, 534 insertions(+), 95 deletions(-)
create mode 100644 kexec/arch/arm64/iomem.h
create mode 100644 kexec/symbols.c
--
2.9.0
More information about the kexec
mailing list