[PATCH v7 2/9] crash_core: fold duplicated memblock arch hooks into the weak default

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Sep 22 01:56:35 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/20260922084256.1515554-1-chenwandun1@gmail.com?part=2




More information about the linux-arm-kernel mailing list