From: Sasha Levin <sashal@kernel.org>
To: pasha.tatashin@soleen.com, rppt@kernel.org
Cc: pratyush@kernel.org, linux-kernel@vger.kernel.org,
surenb@google.com, Sasha Levin <sashal@kernel.org>
Subject: [PATCH v2] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST
Date: Fri, 6 Feb 2026 16:52:44 -0500 [thread overview]
Message-ID: <20260206215244.115509-1-sashal@kernel.org> (raw)
In-Reply-To: <20260204182816.2463931-1-sashal@kernel.org>
Currently allmodconfig sets CONFIG_DEFERRED_STRUCT_PAGE_INIT which prevents KHO
from building.
Signed-off-by: Sasha Levin <sashal@kernel.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
next prev parent reply other threads:[~2026-02-06 21:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 18:28 [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST Sasha Levin
2026-02-04 22:32 ` Suren Baghdasaryan
2026-02-05 0:22 ` kernel test robot
2026-02-05 2:05 ` kernel test robot
2026-02-05 2:05 ` kernel test robot
2026-02-05 12:00 ` Mike Rapoport
2026-02-05 12:07 ` Pratyush Yadav
2026-02-05 12:05 ` kernel test robot
2026-02-06 21:52 ` Sasha Levin [this message]
2026-02-07 7:40 ` [PATCH v2] " Mike Rapoport
2026-02-07 16:06 ` Pasha Tatashin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260206215244.115509-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=rppt@kernel.org \
--cc=surenb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox