aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hansen2023-12-08 09:07:40 -0800
committerDave Hansen2023-12-12 08:46:46 -0800
commitcb8eb06d50fcf4a478813a612f68c38cca45c742 (patch)
tree7bbba94a31f6b69b1c9c205823aa907f72a5a06c
parent4e1c7dddc71708c21d7fe69cc5f8297ffb7c6965 (diff)
x86/virt/tdx: Disable TDX host support when kexec is enabled
TDX host support currently lacks the ability to handle kexec. Disable TDX when kexec is enabled. Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/all/20231208170740.53979-20-dave.hansen%40intel.com
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e255d8ae5e77..01cdb16acff6 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1973,6 +1973,7 @@ config INTEL_TDX_HOST
depends on X86_X2APIC
select ARCH_KEEP_MEMBLOCK
depends on CONTIG_ALLOC
+ depends on !KEXEC_CORE
help
Intel Trust Domain Extensions (TDX) protects guest VMs from malicious
host and certain physical attacks. This option enables necessary TDX