[PULL][Artful] kdump support for arm64

dann frazier dann.frazier at canonical.com
Tue Jun 20 23:22:48 UTC 2017


Here's a backport of the arm64 kdump support added in v4.12. Tested on
a Cavium ThunderX CRB1S and a Qualcomm QDF2400. The QDF2400 support
has an outstanding issue where the crash*ing* kernel needs to be
booted w/ maxcpus=1 in order for the crash kernel to successfully
boot. This is also the case w/ upstream v4.12, and is still under
investigation.

BugLink: https://bugs.launchpad.net/bugs/1694859

The following changes since commit 44f90642a0edf37d0135e94495ab808f7dc6e54d:

  scsi: aacraid: Update driver version to 50834 (2017-06-20 14:39:29 -0500)

are available in the git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux
arm64-kdump-artful

for you to fetch changes up to 15c246ba396d1091c26a8a78d973071c3a274392:

  efi/libstub/arm*: Set default address and size cells values for an
empty dtb (2017-06-20 15:31:55 -0600)

----------------------------------------------------------------
AKASHI Takahiro (11):
      memblock: add memblock_clear_nomap()
      memblock: add memblock_cap_memory_range()
      arm64: limit memory regions based on DT property, usable-memory-range
      arm64: kdump: reserve memory for crash dump kernel
      arm64: mm: add set_memory_valid()
      arm64: kdump: protect crash dump kernel memory
      arm64: hibernate: preserve kdump image around hibernation
      arm64: kdump: implement machine_crash_shutdown()
      arm64: kdump: add VMCOREINFO's for user-space tools
      arm64: kdump: provide /proc/vmcore file
      Documentation: kdump: describe arm64 port

James Morse (1):
      Documentation: dt: chosen properties for arm64 kdump

Sameer Goel (1):
      efi/libstub/arm*: Set default address and size cells values for
an empty dtb

dann frazier (1):
      UBUNTU: [Config] CONFIG_CRASH_DUMP=y on arm64

 Documentation/devicetree/bindings/chosen.txt |  45 +++++++
 Documentation/kdump/kdump.txt                |  16 ++-
 arch/arm64/Kconfig                           |  11 ++
 arch/arm64/include/asm/cacheflush.h          |   1 +
 arch/arm64/include/asm/hardirq.h             |   2 +-
 arch/arm64/include/asm/kexec.h               |  52 +++++++-
 arch/arm64/include/asm/smp.h                 |   3 +
 arch/arm64/kernel/Makefile                   |   1 +
 arch/arm64/kernel/crash_dump.c               |  71 +++++++++++
 arch/arm64/kernel/hibernate.c                |  10 +-
 arch/arm64/kernel/machine_kexec.c            | 170 +++++++++++++++++++++++--
 arch/arm64/kernel/setup.c                    |   7 +-
 arch/arm64/kernel/smp.c                      |  68 ++++++++++
 arch/arm64/mm/init.c                         | 181 +++++++++++++++++++++++++++
 arch/arm64/mm/mmu.c                          |  90 ++++++-------
 arch/arm64/mm/pageattr.c                     |  15 ++-
 debian.master/config/annotations             |   2 +-
 drivers/firmware/efi/libstub/fdt.c           |  28 ++++-
 include/linux/memblock.h                     |   2 +
 mm/memblock.c                                |  56 ++++++---
 20 files changed, 749 insertions(+), 82 deletions(-)
 create mode 100644 arch/arm64/kernel/crash_dump.c




More information about the kernel-team mailing list