[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYbsZjvXyHzXZP96@kernel.org>
Date: Sat, 7 Feb 2026 09:40:22 +0200
From: Mike Rapoport <rppt@...nel.org>
To: Sasha Levin <sashal@...nel.org>
Cc: pasha.tatashin@...een.com, pratyush@...nel.org,
linux-kernel@...r.kernel.org, surenb@...gle.com
Subject: Re: [PATCH v2] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST
On Fri, Feb 06, 2026 at 04:52:44PM -0500, Sasha Levin wrote:
> Currently allmodconfig sets CONFIG_DEFERRED_STRUCT_PAGE_INIT which prevents KHO
> from building.
>
> Signed-off-by: Sasha Levin <sashal@...nel.org>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@...nel.org>
> ---
> Changes since v1:
> - Only add COMPILE_TEST to the DEFERRED_STRUCT_PAGE_INIT guards.
>
> kernel/liveupdate/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/liveupdate/Kconfig b/kernel/liveupdate/Kconfig
> index d2aeaf13c3acb..a5d5391e9cf76 100644
> --- a/kernel/liveupdate/Kconfig
> +++ b/kernel/liveupdate/Kconfig
> @@ -1,12 +1,12 @@
> # SPDX-License-Identifier: GPL-2.0-only
>
> menu "Live Update and Kexec HandOver"
> - depends on !DEFERRED_STRUCT_PAGE_INIT
> + depends on !DEFERRED_STRUCT_PAGE_INIT || COMPILE_TEST
>
> config KEXEC_HANDOVER
> bool "kexec handover"
> depends on ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE
> - depends on !DEFERRED_STRUCT_PAGE_INIT
> + depends on !DEFERRED_STRUCT_PAGE_INIT || COMPILE_TEST
> select MEMBLOCK_KHO_SCRATCH
> select KEXEC_FILE
> select LIBFDT
> --
> 2.51.0
>
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists