Re: [PATCH] riscv: unconditionally select ARCH_KEEP_MEMBLOCK

From: Paul Walmsley

Date: Thu May 21 2026 - 18:04:13 EST


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@xxxxxxxxxxx>

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