[PATCH v9 01/18] arm64: kexec: make dtb_mem always enabled

Pavel Tatashin pasha.tatashin at soleen.com
Fri Jan 22 19:17:26 EST 2021


On Wed, Apr 29, 2020 at 1:00 PM James Morse <james.morse at arm.com> wrote:
>
> Hi Pavel,
>
> On 26/03/2020 03:24, Pavel Tatashin wrote:
> > Currently, dtb_mem is enabled only when CONFIG_KEXEC_FILE is
> > enabled. This adds ugly ifdefs to c files.
>
> ~s/dtb_mem/ARCH_HAS_KIMAGE_ARCH/ ?
> dtb_mem is just one member of struct kimage_arch.
>
>
> > Always enabled dtb_mem, when it is not used, it is NULL.
> > Change the dtb_mem to phys_addr_t, as it is a physical address.
>
> Regardless,
> Reviewed-by: James Morse <james.morse at arm.com>

Thank you.

Pasha

>
>
> Thanks,
>
> James



More information about the linux-arm-kernel mailing list