[RESEND PATCH v8 2/8] crash_core: fold duplicated memblock arch hooks into the weak default

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 15 23:30:23 PDT 2026


> From: Wandun Chen <chenwandun at lixiang.com>
> 
> arm64, loongarch and riscv open-code the same memblock walk in
> arch_get_system_nr_ranges() and arch_crash_populate_cmem(). Move it into
> the __weak defaults in kernel/crash_core.c and delete the arch copies.
> 
> No functional change.
> 
> Signed-off-by: Wandun Chen <chenwandun at lixiang.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261016061549.4181390-1-chenwandun1@gmail.com?part=2




More information about the kexec mailing list