summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2023-12-08 18:07:40 +0100
committerDave Hansen <dave.hansen@linux.intel.com>2023-12-12 17:46:46 +0100
commitcb8eb06d50fcf4a478813a612f68c38cca45c742 (patch)
tree7bbba94a31f6b69b1c9c205823aa907f72a5a06c /arch/x86
parentDocumentation/x86: Add documentation for TDX host support (diff)
downloadlinux-cb8eb06d50fcf4a478813a612f68c38cca45c742.tar.xz
linux-cb8eb06d50fcf4a478813a612f68c38cca45c742.zip
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
Diffstat (limited to 'arch/x86')
-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