diff options
| author | Ingo Molnar <mingo@kernel.org> | 2026-05-29 09:51:08 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-05-29 09:51:08 +0200 |
| commit | ddfd3966d0d4f0a8a3cf4d01d31ebba5fd689e33 (patch) | |
| tree | 9c584ff6d2ca9649a36fa2ab8ef7467459d5952e /Documentation | |
| parent | 4f9cae71cef55e792f5ba7383908e446d2643843 (diff) | |
| parent | 6712564c884d14fe9506027ecc9546c9edb7301d (diff) | |
| download | linux-next-history-ddfd3966d0d4f0a8a3cf4d01d31ebba5fd689e33.tar.gz | |
Merge branch into tip/master: 'x86/tdx'
# New commits in x86/tdx:
6712564c884d ("x86/virt/tdx: Enable TDX module runtime updates")
73be1bb72f4c ("x86/virt/tdx: Refresh TDX module version after update")
bd0ba697612a ("coco/tdx-host: Lock out module updates when reading version")
eb71a4c94061 ("x86/virt/seamldr: Add module update locking")
069be08012cf ("x86/virt/tdx: Restore TDX module state")
f74245e39c21 ("x86/virt/seamldr: Initialize the newly-installed TDX module")
d909333bf655 ("x86/virt/seamldr: Install a new TDX module")
522bacc2fbac ("x86/virt/tdx: Reset software states during TDX module shutdown")
146ac22b2b96 ("x86/virt/seamldr: Shut down the current TDX module")
c507e80de947 ("x86/virt/seamldr: Abort updates after a failed step")
e16ce07a9053 ("x86/virt/seamldr: Introduce skeleton for TDX module updates")
35621312a061 ("x86/virt/seamldr: Allocate and populate a module update request")
000c293c24bc ("coco/tdx-host: Implement firmware upload sysfs ABI for TDX module updates")
56b46fe202f8 ("coco/tdx-host: Don't expose P-SEAMLDR information on CPUs with erratum")
b094b1684fef ("coco/tdx-host: Expose P-SEAMLDR information via sysfs")
fcbc30f0d66f ("x86/virt/seamldr: Add a helper to retrieve P-SEAMLDR information")
b434b916fed3 ("x86/virt/seamldr: Introduce a wrapper for P-SEAMLDR SEAMCALLs")
e4afd39aefd8 ("coco/tdx-host: Expose TDX module version")
c6a2ea2cfa6a ("coco/tdx-host: Introduce a "tdx_host" device")
0a7808c1b5ff ("x86/virt/tdx: Move low level SEAMCALL helpers out of <asm/tdx.h>")
2818e8c8a46d ("x86/virt/tdx: Move TDX_FEATURES0 bits to asm/tdx.h")
332d5758bbad ("x86/virt/tdx: Consolidate TDX global initialization states")
2f410fa074fb ("x86/virt/tdx: Move TDX global initialization states to file scope")
394d7f52d844 ("x86/virt/tdx: Clarify try_init_module_global() result caching")
5209e5bfe5ca ("x86/virt/tdx: Remove kexec docs")
5b25f249be32 ("x86/tdx: Disable the TDX module during kexec and kdump")
b7d2173946ef ("x86/virt/tdx: Add SEAMCALL wrapper for TDH.SYS.DISABLE")
597bdf6e068e ("x86/virt/tdx: Pull kexec cache flush logic into arch/x86")
53642715861e ("x86/tdx: Move TDX architectural error codes into <asm/shared/tdx_errno.h>")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-devices-faux-tdx-host | 26 | ||||
| -rw-r--r-- | Documentation/arch/x86/tdx.rst | 7 |
2 files changed, 26 insertions, 7 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-faux-tdx-host b/Documentation/ABI/testing/sysfs-devices-faux-tdx-host new file mode 100644 index 0000000000000..c9cb273abf320 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-faux-tdx-host @@ -0,0 +1,26 @@ +What: /sys/devices/faux/tdx_host/version +Contact: linux-coco@lists.linux.dev +Description: (RO) Report the version of the loaded TDX module. + Formatted as "major.minor.update". Used by TDX module + update tooling. Example: "1.2.03". + +What: /sys/devices/faux/tdx_host/seamldr_version +Contact: linux-coco@lists.linux.dev +Description: (RO) Report the version of the loaded P-SEAMLDR. + Formatted as a TDX module version. Used by TDX module + update tooling. + +What: /sys/devices/faux/tdx_host/num_remaining_updates +Contact: linux-coco@lists.linux.dev +Description: (RO) Report the number of remaining updates. TDX maintains a + log about each TDX module that has been loaded. This log has + a finite size, which limits the number of TDX module updates + that can be performed. + + After each successful update, the number reduces by one. Once it + reaches zero, further updates will fail until next reboot. The + number is always zero if the P-SEAMLDR doesn't support updates. + + See Intel Trust Domain Extensions - SEAM Loader (SEAMLDR) + Interface Specification, Chapter "SEAMLDR_INFO" and Chapter + "SEAMLDR.INSTALL" for more information. diff --git a/Documentation/arch/x86/tdx.rst b/Documentation/arch/x86/tdx.rst index ff6b110291bc6..1a3b5bac10216 100644 --- a/Documentation/arch/x86/tdx.rst +++ b/Documentation/arch/x86/tdx.rst @@ -138,13 +138,6 @@ 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 -~~~~~~~ - -Currently kexec doesn't work on the TDX platforms with the aforementioned -erratum. It fails when loading the kexec kernel image. Otherwise it -works normally. - Interaction vs S3 and deeper states ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
