[PATCH v3 1/4] riscv: Call early_ioremap_setup() before parsing the DTB

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Nov 6 23:15:32 PST 2026


> parse_dtb() can reach early_memremap(), whose return value is composed
> from the slot table that early_ioremap_setup() fills in - and on RISC-V
> that setup ran after the scan, so the mapping came back NULL. The DT
> based kexec handover parsing is the first caller to hit this:
> kho_populate() cannot map the handover FDT and the handover is dropped.
> 
> Run early_ioremap_setup() before parse_dtb(), as arm64 and x86 already
> do.
> 
> Signed-off-by: Chen Pei <cp0613 at linux.alibaba.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106071459.2003-1-cp0613@linux.alibaba.com?part=1




More information about the kexec mailing list