[PATCH] of/fdt: move elfcorehdr reservation early for crash dump kernel

Rob Herring robh+dt at kernel.org
Fri Jan 28 07:32:59 PST 2022


On Thu, Jan 27, 2022 at 10:23 PM <nikhil.gupta at nxp.com> wrote:
>
> From: Nikhil Gupta <nikhil.gupta at nxp.com>
>
> elfcorehdr_addr is fixed address passed to Second kernel which may be conflicted
> with potential reserved memory in Second kernel,so fdt_reserve_elfcorehdr() ahead
> of fdt_init_reserved_mem() can relieve this situation.

How does changing the order help exactly? If you have an overlap, that
seems bad no matter what. What if the overlapping reserved area is
used by another core or firmware?

Rob



More information about the linux-arm-kernel mailing list