Re: [PATCH v2] memblock: don't allocate new reserve_mem regions on a KHO boot
From: Pasha Tatashin
Date: Wed Nov 04 2026 - 21:56:10 EST
On Wed, 04 Nov 2026 21:42:17 +0100, Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx> wrote:
> On a KHO boot, a reserve_mem region that can't be revived is allocated
> from KHO_NOPRSRV memory, which includes the bootmem the next kernel
> boots out of. With CONFIG_KEXEC_HANDOVER_DEBUG, preserving the region
> then fails:
>
> WARNING: kernel/liveupdate/kexec_handover.c:1245 at kho_preserve_pages+0x168/0x180
> failed to prepare memblock FDT for KHO: -22
>
> [...]
Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
--
Pasha