Re: [PATCH v7 2/9] crash_core: fold duplicated memblock arch hooks into the weak default
From: sashiko-bot
Date: Tue Sep 22 2026 - 05:05:33 EST
> From: Wandun Chen <chenwandun@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260922084256.1515554-1-chenwandun1@xxxxxxxxx?part=2