[PATCH v3 0/3] arm64/riscv: Add support for crashkernel CMA reservation

From: Jinjie Ruan

Date: Wed Feb 04 2026 - 04:41:11 EST


Add support for crashkernel CMA reservation for arm64 and riscv.

By the way, exclude crash kernel memory in crash core to
avoid duplication.

Changs in v3:
- Exclude crash kernel memory in crash core as Mike suggested.
- Add acked-by.

Jinjie Ruan (3):
crash: Exclude crash kernel memory in crash core
arm64: kexec: Add support for crashkernel CMA reservation
riscv: kexec: Add support for crashkernel CMA reservation

.../admin-guide/kernel-parameters.txt | 16 ++++----
arch/arm64/kernel/machine_kexec_file.c | 16 +++-----
arch/arm64/mm/init.c | 5 ++-
arch/loongarch/kernel/machine_kexec_file.c | 12 ------
arch/powerpc/kexec/ranges.c | 16 ++------
arch/riscv/kernel/machine_kexec_file.c | 15 ++++---
arch/riscv/mm/init.c | 5 ++-
arch/x86/kernel/crash.c | 39 +------------------
kernel/crash_core.c | 28 +++++++++++++
9 files changed, 61 insertions(+), 91 deletions(-)

--
2.34.1