xref: /linux/Documentation/ABI/testing/configfs-tsm-report (revision ae5ec8adb8ec9c2aa916f853737c101faa87e5ba)
1*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/inblob
2*71ded61bSDan WilliamsDate:		September, 2023
3*71ded61bSDan WilliamsKernelVersion:	v6.7
4*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
5*71ded61bSDan WilliamsDescription:
6*71ded61bSDan Williams		(WO) Up to 64 bytes of user specified binary data. For replay
7*71ded61bSDan Williams		protection this should include a nonce, but the kernel does not
8*71ded61bSDan Williams		place any restrictions on the content.
9*71ded61bSDan Williams
10*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/outblob
11*71ded61bSDan WilliamsDate:		September, 2023
12*71ded61bSDan WilliamsKernelVersion:	v6.7
13*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
14*71ded61bSDan WilliamsDescription:
15*71ded61bSDan Williams		(RO) Binary attestation report generated from @inblob and other
16*71ded61bSDan Williams		options The format of the report is implementation specific
17*71ded61bSDan Williams		where the implementation is conveyed via the @provider
18*71ded61bSDan Williams		attribute.
19*71ded61bSDan Williams
20*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/auxblob
21*71ded61bSDan WilliamsDate:		October, 2023
22*71ded61bSDan WilliamsKernelVersion:	v6.7
23*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
24*71ded61bSDan WilliamsDescription:
25*71ded61bSDan Williams		(RO) Optional supplemental data that a TSM may emit, visibility
26*71ded61bSDan Williams		of this attribute depends on TSM, and may be empty if no
27*71ded61bSDan Williams		auxiliary data is available.
28*71ded61bSDan Williams
29*71ded61bSDan Williams		When @provider is "sev_guest" this file contains the
30*71ded61bSDan Williams		"cert_table" from SEV-ES Guest-Hypervisor Communication Block
31*71ded61bSDan Williams		Standardization v2.03 Section 4.1.8.1 MSG_REPORT_REQ.
32*71ded61bSDan Williams		https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56421.pdf
33*71ded61bSDan Williams
34*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/manifestblob
35*71ded61bSDan WilliamsDate:		January, 2024
36*71ded61bSDan WilliamsKernelVersion:	v6.10
37*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
38*71ded61bSDan WilliamsDescription:
39*71ded61bSDan Williams		(RO) Optional supplemental data that a TSM may emit, visibility
40*71ded61bSDan Williams		of this attribute depends on TSM, and may be empty if no
41*71ded61bSDan Williams		manifest data is available.
42*71ded61bSDan Williams
43*71ded61bSDan Williams		See 'service_provider' for information on the format of the
44*71ded61bSDan Williams		manifest blob.
45*71ded61bSDan Williams
46*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/provider
47*71ded61bSDan WilliamsDate:		September, 2023
48*71ded61bSDan WilliamsKernelVersion:	v6.7
49*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
50*71ded61bSDan WilliamsDescription:
51*71ded61bSDan Williams		(RO) A name for the format-specification of @outblob like
52*71ded61bSDan Williams		"sev_guest" [1] or "tdx_guest" [2] in the near term, or a
53*71ded61bSDan Williams		common standard format in the future.
54*71ded61bSDan Williams
55*71ded61bSDan Williams		[1]: SEV Secure Nested Paging Firmware ABI Specification
56*71ded61bSDan Williams		Revision 1.55 Table 22
57*71ded61bSDan Williams		https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56860.pdf
58*71ded61bSDan Williams
59*71ded61bSDan Williams		[2]: Intel® Trust Domain Extensions Data Center Attestation
60*71ded61bSDan Williams		Primitives : Quote Generation Library and Quote Verification
61*71ded61bSDan Williams		Library Revision 0.8 Appendix 4,5
62*71ded61bSDan Williams		https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/Intel_TDX_DCAP_Quoting_Library_API.pdf
63*71ded61bSDan Williams
64*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/generation
65*71ded61bSDan WilliamsDate:		September, 2023
66*71ded61bSDan WilliamsKernelVersion:	v6.7
67*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
68*71ded61bSDan WilliamsDescription:
69*71ded61bSDan Williams		(RO) The value in this attribute increments each time @inblob or
70*71ded61bSDan Williams		any option is written. Userspace can detect conflicts by
71*71ded61bSDan Williams		checking generation before writing to any attribute and making
72*71ded61bSDan Williams		sure the number of writes matches expectations after reading
73*71ded61bSDan Williams		@outblob, or it can prevent conflicts by creating a report
74*71ded61bSDan Williams		instance per requesting context.
75*71ded61bSDan Williams
76*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/privlevel
77*71ded61bSDan WilliamsDate:		September, 2023
78*71ded61bSDan WilliamsKernelVersion:	v6.7
79*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
80*71ded61bSDan WilliamsDescription:
81*71ded61bSDan Williams		(WO) Attribute is visible if a TSM implementation provider
82*71ded61bSDan Williams		supports the concept of attestation reports for TVMs running at
83*71ded61bSDan Williams		different privilege levels, like SEV-SNP "VMPL", specify the
84*71ded61bSDan Williams		privilege level via this attribute.  The minimum acceptable
85*71ded61bSDan Williams		value is conveyed via @privlevel_floor and the maximum
86*71ded61bSDan Williams		acceptable value is TSM_PRIVLEVEL_MAX (3).
87*71ded61bSDan Williams
88*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/privlevel_floor
89*71ded61bSDan WilliamsDate:		September, 2023
90*71ded61bSDan WilliamsKernelVersion:	v6.7
91*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
92*71ded61bSDan WilliamsDescription:
93*71ded61bSDan Williams		(RO) Indicates the minimum permissible value that can be written
94*71ded61bSDan Williams		to @privlevel.
95*71ded61bSDan Williams
96*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/service_provider
97*71ded61bSDan WilliamsDate:		January, 2024
98*71ded61bSDan WilliamsKernelVersion:	v6.10
99*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
100*71ded61bSDan WilliamsDescription:
101*71ded61bSDan Williams		(WO) Attribute is visible if a TSM implementation provider
102*71ded61bSDan Williams		supports the concept of attestation reports from a service
103*71ded61bSDan Williams		provider for TVMs, like SEV-SNP running under an SVSM.
104*71ded61bSDan Williams		Specifying the service provider via this attribute will create
105*71ded61bSDan Williams		an attestation report as specified by the service provider.
106*71ded61bSDan Williams		The only currently supported service provider is "svsm".
107*71ded61bSDan Williams
108*71ded61bSDan Williams		For the "svsm" service provider, see the Secure VM Service Module
109*71ded61bSDan Williams		for SEV-SNP Guests v1.00 Section 7. For the doc, search for
110*71ded61bSDan Williams		"site:amd.com "Secure VM Service Module for SEV-SNP
111*71ded61bSDan Williams		Guests", docID: 58019"
112*71ded61bSDan Williams
113*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/service_guid
114*71ded61bSDan WilliamsDate:		January, 2024
115*71ded61bSDan WilliamsKernelVersion:	v6.10
116*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
117*71ded61bSDan WilliamsDescription:
118*71ded61bSDan Williams		(WO) Attribute is visible if a TSM implementation provider
119*71ded61bSDan Williams		supports the concept of attestation reports from a service
120*71ded61bSDan Williams		provider for TVMs, like SEV-SNP running under an SVSM.
121*71ded61bSDan Williams		Specifying an empty/null GUID (00000000-0000-0000-0000-000000)
122*71ded61bSDan Williams		requests all active services within the service provider be
123*71ded61bSDan Williams		part of the attestation report. Specifying a GUID request
124*71ded61bSDan Williams		an attestation report of just the specified service using the
125*71ded61bSDan Williams		manifest form specified by the service_manifest_version
126*71ded61bSDan Williams		attribute.
127*71ded61bSDan Williams
128*71ded61bSDan Williams		See 'service_provider' for information on the format of the
129*71ded61bSDan Williams		service guid.
130*71ded61bSDan Williams
131*71ded61bSDan WilliamsWhat:		/sys/kernel/config/tsm/report/$name/service_manifest_version
132*71ded61bSDan WilliamsDate:		January, 2024
133*71ded61bSDan WilliamsKernelVersion:	v6.10
134*71ded61bSDan WilliamsContact:	linux-coco@lists.linux.dev
135*71ded61bSDan WilliamsDescription:
136*71ded61bSDan Williams		(WO) Attribute is visible if a TSM implementation provider
137*71ded61bSDan Williams		supports the concept of attestation reports from a service
138*71ded61bSDan Williams		provider for TVMs, like SEV-SNP running under an SVSM.
139*71ded61bSDan Williams		Indicates the service manifest version requested for the
140*71ded61bSDan Williams		attestation report (default 0). If this field is not set by
141*71ded61bSDan Williams		the user, the default manifest version of the service (the
142*71ded61bSDan Williams		service's initial/first manifest version) is returned.
143*71ded61bSDan Williams
144*71ded61bSDan Williams		See 'service_provider' for information on the format of the
145*71ded61bSDan Williams		service manifest version.
146