[RFC PATCH 5/5] x86/virt/tdx: Update the kexec section in the TDX documentation
From: Kai Huang
Date: Wed Mar 12 2025 - 07:35:58 EST
TDX host kernel now supports kexec/kdump. Update the documentation to
reflect that.
Signed-off-by: Kai Huang <kai.huang@xxxxxxxxx>
---
Documentation/arch/x86/tdx.rst | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/Documentation/arch/x86/tdx.rst b/Documentation/arch/x86/tdx.rst
index 719043cd8b46..8874c210e545 100644
--- a/Documentation/arch/x86/tdx.rst
+++ b/Documentation/arch/x86/tdx.rst
@@ -142,13 +142,6 @@ but depends on the BIOS to behave correctly.
Note TDX works with CPU logical online/offline, thus the kernel still
allows to offline logical CPU and online it again.
-Kexec()
-~~~~~~~
-
-TDX host support currently lacks the ability to handle kexec. For
-simplicity only one of them can be enabled in the Kconfig. This will be
-fixed in the future.
-
Erratum
~~~~~~~
@@ -171,6 +164,16 @@ If the platform has such erratum, the kernel prints additional message in
machine check handler to tell user the machine check may be caused by
kernel bug on TDX private memory.
+Kexec
+~~~~~~~
+
+Kexec/kdump works normally when TDX is enabled in the kernel. One
+limitation is if the old kernel has ever enabled TDX the new kernel won't
+be able to use TDX anymore.
+
+One exception is kexec/kdump are disabled on the platform with the TDX
+"tdx_pw_mce" erratum. This will be enhanced in the future.
+
Interaction vs S3 and deeper states
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
2.48.1