xref: /linux/Documentation/ABI/testing/sysfs-devices-virtual-misc-tdx_guest (revision ae5ec8adb8ec9c2aa916f853737c101faa87e5ba)
1What:		/sys/devices/virtual/misc/tdx_guest/measurements/MRNAME[:HASH]
2Date:		April, 2025
3KernelVersion:	v6.16
4Contact:	linux-coco@lists.linux.dev
5Description:
6		Value of a TDX measurement register (MR). MRNAME and HASH above
7		are placeholders. The optional suffix :HASH is used for MRs
8		that have associated hash algorithms. See below for a complete
9		list of TDX MRs exposed via sysfs. Refer to Intel TDX Module
10		ABI Specification for the definition of TDREPORT and the full
11		list of TDX measurements.
12
13		Intel TDX Module ABI Specification can be found at:
14		https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/documentation.html#architecture
15
16		See also:
17		https://docs.kernel.org/driver-api/coco/measurement-registers.html
18
19What:		/sys/devices/virtual/misc/tdx_guest/measurements/mrconfigid
20Date:		April, 2025
21KernelVersion:	v6.16
22Contact:	linux-coco@lists.linux.dev
23Description:
24		(RO) MRCONFIGID - 48-byte immutable storage typically used for
25		software-defined ID for non-owner-defined configuration of the
26		guest TD – e.g., run-time or OS configuration.
27
28What:		/sys/devices/virtual/misc/tdx_guest/measurements/mrowner
29Date:		April, 2025
30KernelVersion:	v6.16
31Contact:	linux-coco@lists.linux.dev
32Description:
33		(RO) MROWNER - 48-byte immutable storage typically used for
34		software-defined ID for the guest TD’s owner.
35
36What:		/sys/devices/virtual/misc/tdx_guest/measurements/mrownerconfig
37Date:		April, 2025
38KernelVersion:	v6.16
39Contact:	linux-coco@lists.linux.dev
40Description:
41		(RO) MROWNERCONFIG - 48-byte immutable storage typically used
42		for software-defined ID for owner-defined configuration of the
43		guest TD – e.g., specific to the workload rather than the
44		run-time or OS.
45
46What:		/sys/devices/virtual/misc/tdx_guest/measurements/mrtd:sha384
47Date:		April, 2025
48KernelVersion:	v6.16
49Contact:	linux-coco@lists.linux.dev
50Description:
51		(RO) MRTD - Measurement of the initial contents of the TD.
52
53What:		/sys/devices/virtual/misc/tdx_guest/measurements/rtmr[0123]:sha384
54Date:		April, 2025
55KernelVersion:	v6.16
56Contact:	linux-coco@lists.linux.dev
57Description:
58		(RW) RTMR[0123] - 4 Run-Time extendable Measurement Registers.
59		Read from any of these returns the current value of the
60		corresponding RTMR. Write extends the written buffer to the
61		RTMR. All writes must start at offset 0 and be 48 bytes in
62		size. Partial writes will result in EINVAL returned by the
63		write() syscall.
64