Re: [PATCH v3 0/2] efi: Fix EFI boot with kexec handover (KHO)
From: Andrew Morton
Date: Thu Aug 21 2025 - 17:06:07 EST
On Thu, 21 Aug 2025 17:58:58 +0000 Evangelos Petrongonas <epetron@xxxxxxxxx> wrote:
> This patch series fixes a kernel panic that occurs when booting with
> both EFI and KHO (Kexec HandOver) enabled.
>
> The issue arises because EFI's `reserve_regions()` clears all memory
> regions with `memblock_remove(0, PHYS_ADDR_MAX)` before rebuilding them
> from EFI data. This destroys KHO scratch regions that were set up early
> during device tree scanning, causing a panic as the kernel has no valid
> memory regions for early allocations.
Do you think we should backport this into 6.16.x kernels? If so, is
there a suitable Fixes: target we can include?