Re: [PATCH v4 04/12] ppc64/kexec_file: avoid stomping memory used by special regions

From: Thiago Jung Bauermann
Date: Thu Jul 23 2020 - 18:20:02 EST



Hari Bathini <hbathini@xxxxxxxxxxxxx> writes:

> crashkernel region could have an overlap with special memory regions
> like opal, rtas, tce-table & such. These regions are referred to as
> exclude memory ranges. Setup this ranges during image probe in order
> to avoid them while finding the buffer for different kdump segments.
> Override arch_kexec_locate_mem_hole() to locate a memory hole taking
> these ranges into account.
>
> Signed-off-by: Hari Bathini <hbathini@xxxxxxxxxxxxx>

Reviewed-by: Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxx>

--
Thiago Jung Bauermann
IBM Linux Technology Center