[PATCH] riscv: unconditionally select ARCH_KEEP_MEMBLOCK

Paul Walmsley pjw at kernel.org
Thu May 21 15:04:01 PDT 2026


On Wed, 20 May 2026, Han Gao wrote:

> Select ARCH_KEEP_MEMBLOCK unconditionally. kexec requires memblock
> to be kept after boot to initialize the secondary kernel. Device
> Tree platforms also need this for kexec support.
> 
> Signed-off-by: Han Gao <gaohan at iscas.ac.cn>

Thanks for the patch.  If this patch is just about kexec, shouldn't 
ARCH_SELECTS_KEXEC just be changed to select ARCH_KEEP_MEMBLOCK?


- Paul



More information about the linux-riscv mailing list