xref: /linux/Documentation/ABI/testing/sysfs-devices-faux-tdx-host (revision b0820861748f43759bbf4c319ed1277cff3c5921)
1What:		/sys/devices/faux/tdx_host/version
2Contact:	linux-coco@lists.linux.dev
3Description:	(RO) Report the version of the loaded TDX module.
4		Formatted as "major.minor.update". Used by TDX module
5		update tooling. Example: "1.2.03".
6
7What:		/sys/devices/faux/tdx_host/seamldr_version
8Contact:	linux-coco@lists.linux.dev
9Description:	(RO) Report the version of the loaded P-SEAMLDR.
10		Formatted as a TDX module version. Used by TDX module
11		update tooling.
12
13What:		/sys/devices/faux/tdx_host/num_remaining_updates
14Contact:	linux-coco@lists.linux.dev
15Description:	(RO) Report the number of remaining updates. TDX maintains a
16		log about each TDX module that has been loaded. This log has
17		a finite size, which limits the number of TDX module updates
18		that can be performed.
19
20		After each successful update, the number reduces by one. Once it
21		reaches zero, further updates will fail until next reboot. The
22		number is always zero if the P-SEAMLDR doesn't support updates.
23
24		See Intel Trust Domain Extensions - SEAM Loader (SEAMLDR)
25		Interface Specification, Chapter "SEAMLDR_INFO" and Chapter
26		"SEAMLDR.INSTALL" for more information.
27