[PATCH v1 3/8] s390/kexec: Pass crashkernel CMA ranges to the kdump kernel
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 12 03:34:38 PST 2026
> Store the crashkernel CMA ranges in the parmarea of the kdump kernel,
> next to oldmem_base and oldmem_size, when it is loaded with
> kexec_file_load().
>
> The ranges use 64 of the 72 bytes of pad1, which is enough for the four
> ranges the generic code reserves at most. They are sorted by address
> and unused entries are zero. Older kernels ignore pad1 and kernel images
> have it zeroed, so old and new kernels still work together.
>
> For kexec_load(), kexec-tools would have to fill in the ranges. It can
> read them from /sys/kernel/kexec_crash_cma_ranges.
>
> Co-developed-by: Vasily Gorbik <gor at linux.ibm.com>
> Signed-off-by: Vasily Gorbik <gor at linux.ibm.com>
> Signed-off-by: Mikhail Zaslonko <zaslonko at linux.ibm.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112112105.1169118-1-zaslonko@linux.ibm.com?part=3
More information about the kexec
mailing list