LF-3296-1 arm64:move elfcorehdr reservation early for crash dump kernel
authorNikhil Gupta <nikhil.gupta@nxp.com>
Tue, 9 Mar 2021 04:07:46 +0000 (09:37 +0530)
committerXiaobo Xie <xiaobo.xie@nxp.com>
Mon, 7 Jun 2021 04:10:25 +0000 (06:10 +0200)
commit6745315419b8aa468afab98b02677af9e3d717de
tree5cbb3ce3415a7fa0c7515e758795747d18f20d8b
parentd1331b9bb16c5318fc8a7b6831136c79c116f8d9
LF-3296-1 arm64:move elfcorehdr reservation early for crash dump kernel

elfcorehdr_addr is fixed address passed to 2nd kernel which may be conflicted
with potential reserved memory in 2nd kernel,so reserve_elfcorehdr() ahead of
early_init_fdt_scan_reserved_mem() can relieve this situation.

Signed-off-by: Nikhil Gupta <nikhil.gupta@nxp.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Reviewed-by: Aisheng Dong <aisheng.dong@nxp.com>
arch/arm64/mm/init.c