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