[PATCH v3 01/12] kexec_file: allow archs to handle special regions while locating memory hole

Thiago Jung Bauermann bauerman at linux.ibm.com
Tue Jul 14 17:00:49 EDT 2020


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

> Some architectures may have special memory regions, within the given
> memory range, which can't be used for the buffer in a kexec segment.
> Implement weak arch_kexec_locate_mem_hole() definition which arch code
> may override, to take care of special regions, while trying to locate
> a memory hole.
>
> Also, add the missing declarations for arch overridable functions and
> and drop the __weak descriptors in the declarations to avoid non-weak
> definitions from becoming weak.
>
> Reported-by: kernel test robot <lkp at intel.com>
> [lkp: In v1, arch_kimage_file_post_load_cleanup() declaration was missing]
> Signed-off-by: Hari Bathini <hbathini at linux.ibm.com>
> Acked-by: Dave Young <dyoung at redhat.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