mbox

[PULL,Artful] kdump support for arm64

Message ID CALdTtntEzaXy4ZAH=eeb2Ks4MFTqFOFO3yep1U=b+=VcNVe8mA@mail.gmail.com
State New
Headers show

Pull-request

git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux

Message

dann frazier June 20, 2017, 11:22 p.m. UTC
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

Comments

Seth Forshee June 21, 2017, 3:01 p.m. UTC | #1
On Tue, Jun 20, 2017 at 05:22:48PM -0600, dann frazier wrote:
> 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)

Applied to artful/master-next.