All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 00/10] (kexec-tools) arm64: add kdump support
@ 2017-05-17  5:51 AKASHI Takahiro
  2017-05-17  5:51 ` [PATCH v7 01/10] kexec: exntend the semantics of kexec_iomem_for_each_line AKASHI Takahiro
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: AKASHI Takahiro @ 2017-05-17  5:51 UTC (permalink / raw)
  To: horms; +Cc: geoff, panand, kexec, AKASHI Takahiro

My kernel patches of kdump support on arm64 were merged in v4.12-rc1.

This patchset is synced with them and provides necessary changes for
kexec-tools. It can be applied on top of kexec-tools master branch.

Patch #1 to #4 are preparatory patches for succeeding patches,
#5 to #9 are main part of kdump implementation for vmlinux support
and #10 is for Image support.

Changes for v7:
 - rebased on the latest master
 - fix incorrect return values on error (patch #4)
 - implement get_crash_kernel_load_range() (patch #5)
 - rename some variables/functions for better readability (patch #5/#9)
 - add/revise comments

Changes for v6:
 - use get_kernel_sym() from x86, not from arm (patch #2)
 - always take root node's "#address-cells" and "#size-cells" into account
   when adding "linux,usable-memory-range" and "linux,elfcorehdr"
   (patch #8)

Changes for v5:
 - remove "linux,crashkernel-base/size" handling aligned with a change
   on the kernel side

Changes for v4:
 - rebased on the master branch (including Geoff's v6)
 - revive "linux,usable-memory-range" DT property (from v2), dropping
   use of "reserved-memory" nodes introduced in v3 (patch #8)
 - extend the semantics of kexec_iomem_for_each_line() per Pratyush
   (patch #1)

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 (8):
  kexec: exntend the semantics of kexec_iomem_for_each_line
  arm64: identify PHYS_OFFSET correctly
  arm64: change return values on error to negative
  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            |   3 +
 kexec/arch/arm64/crashdump-arm64.c   | 229 +++++++++++++++++++++++++++++-
 kexec/arch/arm64/crashdump-arm64.h   |  18 ++-
 kexec/arch/arm64/iomem.h             |  10 ++
 kexec/arch/arm64/kexec-arm64.c       | 263 +++++++++++++++++++++++++++++++----
 kexec/arch/arm64/kexec-elf-arm64.c   |  31 +++--
 kexec/arch/arm64/kexec-image-arm64.c |  17 ++-
 kexec/arch/i386/crashdump-x86.c      |  29 ----
 kexec/kexec-iomem.c                  |  15 +-
 kexec/kexec.h                        |   2 +
 kexec/symbols.c                      |  34 +++++
 13 files changed, 579 insertions(+), 113 deletions(-)
 create mode 100644 kexec/arch/arm64/iomem.h
 create mode 100644 kexec/symbols.c

-- 
2.11.1


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-05-22 11:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17  5:51 [PATCH v7 00/10] (kexec-tools) arm64: add kdump support AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 01/10] kexec: exntend the semantics of kexec_iomem_for_each_line AKASHI Takahiro
2017-05-17 23:37   ` David Woodhouse
2017-05-22  0:18     ` AKASHI Takahiro
2017-05-22 11:41       ` Simon Horman
2017-05-17  5:51 ` [PATCH v7 02/10] kexec: generalize and rename get_kernel_stext_sym() AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 03/10] arm64: identify PHYS_OFFSET correctly AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 04/10] arm64: change return values on error to negative AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 05/10] arm64: kdump: identify memory regions AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 06/10] arm64: kdump: add elf core header segment AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 07/10] arm64: kdump: set up kernel image segment AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 08/10] arm64: kdump: set up other segments AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 09/10] arm64: kdump: add DT properties to crash dump kernel's dtb AKASHI Takahiro
2017-05-17  5:51 ` [PATCH v7 10/10] arm64: kdump: Add support for binary image files AKASHI Takahiro
2017-05-22  6:22 ` [PATCH v7 00/10] (kexec-tools) arm64: add kdump support Pratyush Anand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.