Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm64: handle "reserved" entries in /proc/iomem
@ 2019-01-11  9:59 AKASHI Takahiro
  2019-01-11  9:59 ` [PATCH v2 1/3] kexec: add variant helper functions for handling memory regions AKASHI Takahiro
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: AKASHI Takahiro @ 2019-01-11  9:59 UTC (permalink / raw)
  To: horms, james.morse, bhsharma; +Cc: AKASHI Takahiro, kexec

# @James, @Bhupesh
# Could you kindly test this patch, please?
# I'm not quite confident that I correctly merged my patch with,
# particularly, Bhupesh's recent change.

In recent arm64 kernels, /proc/iomem has an extended file format like:
        40000000-5871ffff : System RAM
          41800000-426affff : Kernel code
          426b0000-42aaffff : reserved
          42ab0000-42c64fff : Kernel data
          54400000-583fffff : Crash kernel
          58590000-585effff : reserved
          58700000-5871ffff : reserved
        58720000-58b5ffff : reserved
        58b60000-5be3ffff : System RAM
          58b61000-58b61fff : reserved
          59a77000-59a77fff : reserved
        5be40000-5becffff : reserved
        5bed0000-5bedffff : System RAM
        5bee0000-5bffffff : reserved
        5c000000-5fffffff : System RAM
          5da00000-5e9fffff : reserved
          5ec00000-5edfffff : reserved
          5ef6a000-5ef6afff : reserved
          5ef6b000-5efcafff : reserved
          5efcd000-5efcffff : reserved
          5efd0000-5effffff : reserved
          5f000000-5fffffff : reserved

where "reserved" entries can be an APCI table, UEFI related code or data,
and they are expected to be preserved across kexec'ing.
With this patch[1], kexec/kdump will be allowed to handle them properly.

[1] https://git.linaro.org/people/takahiro.akashi/kexec-tools.git arm64/resv_mem

AKASHI Takahiro (3):
  kexec: add variant helper functions for handling memory regions
  arm64: kexec: allocate memory space avoiding reserved regions
  arm64: kdump: deal with a lot of resource entries in /proc/iomem

 kexec/arch/arm64/crashdump-arm64.c |  25 ++---
 kexec/arch/arm64/kexec-arm64.c     | 146 +++++++++++++++++------------
 kexec/mem_regions.c                |  42 +++++++++
 kexec/mem_regions.h                |   7 ++
 4 files changed, 146 insertions(+), 74 deletions(-)

-- 
2.19.1


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

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

end of thread, other threads:[~2019-12-18 15:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11  9:59 [PATCH v2 0/3] arm64: handle "reserved" entries in /proc/iomem AKASHI Takahiro
2019-01-11  9:59 ` [PATCH v2 1/3] kexec: add variant helper functions for handling memory regions AKASHI Takahiro
2019-01-11  9:59 ` [PATCH v2 2/3] arm64: kexec: allocate memory space avoiding reserved regions AKASHI Takahiro
2019-12-13 20:04   ` Masayoshi Mizuma
2019-12-16  5:52     ` Bhupesh Sharma
2019-12-16 14:16       ` Masayoshi Mizuma
2019-12-18  2:48         ` AKASHI Takahiro
2019-12-18 15:08           ` Masayoshi Mizuma
2019-01-11  9:59 ` [PATCH v2 3/3] arm64: kdump: deal with a lot of resource entries in /proc/iomem AKASHI Takahiro
2019-01-13 11:36 ` [PATCH v2 0/3] arm64: handle "reserved" " Bhupesh Sharma
2019-12-13 19:53 ` Masayoshi Mizuma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox