* [PATCH] coco/tdx-host: add Kconfig description
@ 2026-10-03 22:32 Dmitry Voytik
0 siblings, 0 replies; only message in thread
From: Dmitry Voytik @ 2026-10-03 22:32 UTC (permalink / raw)
To: Kiryl Shutsemau, Chao Gao, Dave Hansen
Cc: linux-coco, x86, kvm, linux-kernel, Dmitry Voytik
Fix the issue when the driver always gets compiled as a module.
How to reproduce the issue:
make mrproper
make defconfig
./scripts/config \
-e CMA \
-e ALLOC \
-e KVM \
-e KVM_INTEL \
-e KVM_INTEL_TDX \
-e INTEL_TDX_HOST \
-e TDX_HOST_SERVICES \
--refresh
make olddefconfig
make mod2yesconfig
grep '=m$' .config
returns only this driver as module:
CONFIG_TDX_HOST_SERVICES=m
"make menuconfig" doesn't let switch from =m to =y either.
Signed-off-by: Dmitry Voytik <voytikd@gmail.com>
---
drivers/virt/coco/tdx-host/Kconfig | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/virt/coco/tdx-host/Kconfig b/drivers/virt/coco/tdx-host/Kconfig
index 57d0c01a4357..5a13ec6f51e8 100644
--- a/drivers/virt/coco/tdx-host/Kconfig
+++ b/drivers/virt/coco/tdx-host/Kconfig
@@ -1,6 +1,10 @@
config TDX_HOST_SERVICES
- tristate
+ tristate "TDX host user interface driver"
depends on INTEL_TDX_HOST
select FW_LOADER
select FW_UPLOAD
default m
+ help
+ See INTEL_TDX_HOST for details.
+
+ If unsure, say N.
--
2.55.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-03 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 22:32 [PATCH] coco/tdx-host: add Kconfig description Dmitry Voytik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®