Re: [PATCH v2 0/3] arm64: handle "reserved" entries in /proc/iomem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Akashi,

On Fri, Jan 11, 2019 at 3:29 PM AKASHI Takahiro
<takahiro.akashi@xxxxxxxxxx> wrote:
>
> # @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.

I will give this a go at my end and come back with results/comments in
a day or two.

> 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
>

Thanks,
Bhupesh

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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux