Skip to content

Initial implementation of kdump for ARM

Janboe Ye linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 8 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Initial implementation of kdump for ARM

I am trying this. But it seems need to do a lot work to make kdump to work on other omap3 board.

Janboe

Quoted 65 lines · Mika Westerberg
Quoted 12 lines · Mika Westerberg

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

Quoted 4 lines

I've been testing this on my N900.

I have patches for kexec-tools ready and send them once this kernel part is accepted.

Hi,

Any comments on this?

Thanks,
MW

Quoted 31 lines

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
Quoted 4 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel