Re: [PATCH v10 0/8] arm64/riscv: Add support for crashkernel CMA reservation
From: Andrew Morton
Date: Thu Mar 26 2026 - 00:01:02 EST
On Wed, 25 Mar 2026 10:58:56 +0800 Jinjie Ruan <ruanjinjie@xxxxxxxxxx> wrote:
> The crash memory allocation, and the exclude of crashk_res, crashk_low_res
> and crashk_cma memory are almost identical across different architectures,
> This patch set handle them in crash core in a general way, which eliminate
> a lot of duplication code.
>
> And add support for crashkernel CMA reservation for arm64 and riscv.
So who is patchmonkey for this.
> .../admin-guide/kernel-parameters.txt | 16 +--
> arch/arm64/kernel/machine_kexec_file.c | 39 ++-----
> arch/arm64/mm/init.c | 5 +-
> arch/loongarch/kernel/machine_kexec_file.c | 39 ++-----
> arch/powerpc/include/asm/kexec_ranges.h | 1 -
> arch/powerpc/kexec/crash.c | 7 +-
> arch/powerpc/kexec/ranges.c | 101 +----------------
> arch/riscv/kernel/machine_kexec_file.c | 38 ++-----
> arch/riscv/mm/init.c | 5 +-
> arch/x86/kernel/crash.c | 89 ++-------------
> drivers/of/fdt.c | 9 +-
> drivers/of/kexec.c | 9 ++
> include/linux/crash_core.h | 9 ++
> kernel/crash_core.c | 105 +++++++++++++++++-
Me, I guess, with as many arch acks as I can gather, please.
I'm seriously trying to slow things down now, but I guess I can make an
exception for non-MM material.
AI review asks a few questions:
https://sashiko.dev/#/patchset/20260325025904.2811960-1-ruanjinjie@xxxxxxxxxx
Can you please check these? And I'm interested in learning how many of
these are valid. Thanks.