Re: [PATCH v5 0/5] Append new variables to vmcoreinfo (TCR_EL1.T1SZ for arm64 and MAX_PHYSMEM_BITS for all archs)

2019-12-15 Thread Bhupesh Sharma
Hi Boris, On Sat, Dec 14, 2019 at 5:57 PM Borislav Petkov wrote: > > On Fri, Nov 29, 2019 at 01:53:36AM +0530, Bhupesh Sharma wrote: > > Bhupesh Sharma (5): > > crash_core, vmcoreinfo: Append 'MAX_PHYSMEM_BITS' to vmcoreinfo > > arm64/crash_core: Export TCR_EL1.T1SZ in vmcoreinfo > > Docume

Re: [PATCH v2 2/3] arm64: kexec: allocate memory space avoiding reserved regions

2019-12-15 Thread Bhupesh Sharma
Thanks Masa, On Sat, Dec 14, 2019 at 1:34 AM Masayoshi Mizuma wrote: > > some nits as below: > > On Fri, Jan 11, 2019 at 06:59:45PM +0900, AKASHI Takahiro wrote: > > On UEFI/ACPI-only system, some memory regions, including but not limited > > to UEFI memory map and ACPI tables, must be preserved

[PATCH v4 2/2] arm64: kexec_file: add crash dump support

2019-12-15 Thread AKASHI Takahiro
Enabling crash dump (kdump) includes * prepare contents of ELF header of a core dump file, /proc/vmcore, using crash_prepare_elf64_headers(), and * add two device tree properties, "linux,usable-memory-range" and "linux,elfcorehdr", which represent respectively a memory range to be used by cra

[PATCH v4 0/2] arm64: kexec_file: add kdump

2019-12-15 Thread AKASHI Takahiro
This is the last piece of my kexec_file_load implementation for arm64. It is now ready for being merged as some relevant patch to dtc/libfdt[1] has finally been integrated in v5.3-rc1. (Nothing changed since kexec_file v16[2] except adding Patch#1 and #2.) Patch#1 and #2 are preliminary patches fo

[PATCH v4 1/2] libfdt: include fdt_addresses.c

2019-12-15 Thread AKASHI Takahiro
In the implementation of kexec_file_loaded-based kdump for arm64, fdt_appendprop_addrrange() will be needed. So include fdt_addresses.c in making libfdt. Signed-off-by: AKASHI Takahiro Cc: Rob Herring Cc: Frank Rowand --- lib/Makefile| 2 +- lib/fdt_addresses.c | 2 ++ 2 files changed

Re: [PATCH v2 3/3] arm64: kexec_file: add crash dump support

2019-12-15 Thread AKASHI Takahiro
I have forgot to address Bhupesh's comment below in my v3. I'm going to repost my patch. Thank you, Bhupesh, for your review. -Takahiro Akashi On Thu, Dec 05, 2019 at 02:14:14AM +0530, Bhupesh Sharma wrote: > On 11/14/2019 10:45 AM, AKASHI Takahiro wrote: > >Enabling crash dump (kdump) includes