[RESEND PATCH v5 06/11] ppc64/kexec_file: restrict memory usage of kdump kernel
Thiago Jung Bauermann
bauerman at linux.ibm.com
Mon Jul 27 22:10:08 EDT 2020
Hari Bathini <hbathini at linux.ibm.com> writes:
> Kdump kernel, used for capturing the kernel core image, is supposed
> to use only specific memory regions to avoid corrupting the image to
> be captured. The regions are crashkernel range - the memory reserved
> explicitly for kdump kernel, memory used for the tce-table, the OPAL
> region and RTAS region as applicable. Restrict kdump kernel memory
> to use only these regions by setting up usable-memory DT property.
> Also, tell the kdump kernel to run at the loaded address by setting
> the magic word at 0x5c.
>
> Signed-off-by: Hari Bathini <hbathini at linux.ibm.com>
> Tested-by: Pingfan Liu <piliu at redhat.com>
I liked the new versions of get_node_path_size() and get_node_path().
Reviewed-by: Thiago Jung Bauermann <bauerman at linux.ibm.com>
--
Thiago Jung Bauermann
IBM Linux Technology Center
More information about the kexec
mailing list