[PATCH v4 10/12] ppc64/kexec_file: prepare elfcore header for crashing kernel

Thiago Jung Bauermann bauerman at linux.ibm.com
Thu Jul 23 20:33:23 EDT 2020


Hari Bathini <hbathini at linux.ibm.com> writes:

> Prepare elf headers for the crashing kernel's core file using
> crash_prepare_elf64_headers() and pass on this info to kdump
> kernel by updating its command line with elfcorehdr parameter.
> Also, add elfcorehdr location to reserve map to avoid it from
> being stomped on while booting.
>
> Signed-off-by: Hari Bathini <hbathini at linux.ibm.com>
> Tested-by: Pingfan Liu <piliu at redhat.com>

Reviewed-by: Thiago Jung Bauermann <bauerman at linux.ibm.com>

-- 
Thiago Jung Bauermann
IBM Linux Technology Center



More information about the kexec mailing list