Initial implementation of kdump for ARM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Changes to previous version from the cover letter
- crash_setup_regs() uses Russell's suggestion for saving registers
- copy_oldmem_page() code is changed to use ioremap()
- there is no need for special 'mem=' parameters
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | arm: kdump: reserve memory for crashkernelarch/ | +51 | 0 replies | |
| 2/8 | arm: kdump: implement crash_setup_regs()arch/ | +19 | 0 replies | |
| 3/8 | arm: kdump: implement machine_crash_shutdown()arch/ | +4 | 0 replies | |
| 4/8 | arm: kdump: skip indirection page when crashingarch/ | +6 | 0 replies | |
| 5/8 | arm: kdump: implement copy_oldmem_page()arch/ arch/ | +59 | 0 replies | |
| 6/8 | arm: allow passing an ELF64 header to elf_check_arch()arch/ arch/ | +6 | 0 replies | |
| 7/8 | arm: kdump: add support for elfcorehdr= parameterarch/ | +25 | 0 replies | |
| 8/8 | arm: kdump: add CONFIG_CRASH_DUMP Kconfig optionarch/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Initial implementation of kdump for ARM
Hello,
This is revised series of kdump code, now without "RFC"-prefix. Original series can be found here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/012353.html
Changes to previous version:
- crash_setup_regs() uses Russell's suggestion for saving registers
- copy_oldmem_page() code is changed to use ioremap()
- there is no need for special 'mem=' parameters
I've been testing this on my N900.
I have patches for kexec-tools ready and send them once this kernel part is accepted.
As a sidenote: I got crashkernel booting correctly just by modifying PHYS_OFFSET and mach/Makefile.boot for my platform. So it is enough just to pass 'mem=size' to dump capture kernel. This is documented in Kconfig CONFIG_CRASH_DUMP.
Regards,
MW
Mika Westerberg (8):
arm: kdump: reserve memory for crashkernel
arm: kdump: implement crash_setup_regs()
arm: kdump: implement machine_crash_shutdown()
arm: kdump: skip indirection page when crashing
arm: kdump: implement copy_oldmem_page()
arm: allow passing an ELF64 header to elf_check_arch()
arm: kdump: add support for elfcorehdr= parameter
arm: kdump: add CONFIG_CRASH_DUMP Kconfig option
arch/arm/Kconfig | 12 ++++++ arch/arm/include/asm/elf.h | 4 +- arch/arm/include/asm/kexec.h | 22 +++++++++- arch/arm/kernel/Makefile | 1 + arch/arm/kernel/crash_dump.c | 58 ++++++++++++++++++++++++++++ arch/arm/kernel/elf.c | 6 ++- arch/arm/kernel/machine_kexec.c | 4 ++ arch/arm/kernel/relocate_kernel.S | 6 +++ arch/arm/kernel/setup.c | 76 +++++++++++++++++++++++++++++++++++++ 9 files changed, 182 insertions(+), 7 deletions(-) create mode 100644 arch/arm/kernel/crash_dump.c