public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST
Date: Wed,  4 Feb 2026 13:28:16 -0500	[thread overview]
Message-ID: <20260204182816.2463931-1-sashal@kernel.org> (raw)

Currently allmodconfig sets CONFIG_DEFERRED_STRUCT_PAGE_INIT which prevents KHO
from building.

Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 kernel/liveupdate/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/liveupdate/Kconfig b/kernel/liveupdate/Kconfig
index d2aeaf13c3acb..355b43492b8a4 100644
--- a/kernel/liveupdate/Kconfig
+++ b/kernel/liveupdate/Kconfig
@@ -1,14 +1,14 @@
 # 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 (ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE) || COMPILE_TEST
+	depends on !DEFERRED_STRUCT_PAGE_INIT || COMPILE_TEST
 	select MEMBLOCK_KHO_SCRATCH
-	select KEXEC_FILE
+	select KEXEC_FILE if ARCH_SUPPORTS_KEXEC_FILE
 	select LIBFDT
 	select CMA
 	help
-- 
2.51.0


             reply	other threads:[~2026-02-04 18:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04 18:28 Sasha Levin [this message]
2026-02-04 22:32 ` [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST 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 ` [PATCH v2] " Sasha Levin
2026-02-07  7:40   ` 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=20260204182816.2463931-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