Re: [PATCH RFC 00/20] attestation: Add a common subsystem and TDX support

From
Jiri Pirko <jiri@resnulli.us>
Date
2026-10-29 09:30:08
Also in
kvm, linux-coco, linux-doc, lkml
Reply to
Dave Jiang, 2026-10-27
Wed, Oct 28, 2026 at 12:09:19AM +0100, dave.jiang@intel.com wrote:

On 10/27/26 12:36 PM, Jason Gunthorpe wrote:
quoted
On Tue, Oct 27, 2026 at 11:43:04AM -0700, Dave Jiang wrote:
[..]
quoted
 
quoted
6. tdx_attestation_test's discovery_and_construction_fields expects an
   inheritance chain of 4, but the TDX family inherits ctlv-attestation
   directly, which gives 3. In a real TDX guest it fails with
   "Expected 4 (4) == ctlv_chain_len(self->dev) (3)".
I would have naively guessed this should inherent from some SPDM family?
The TDX family is the TD's own attestation (TD report, Quote and RTMRs), with
no device or SPDM in it. In wip_attestation_all_1 it inherits ctlv-attestation
directly, so I think the test's 4 is what's stale. Jiri would know for sure.
Yeah, looks like the test is stale indeed.
DJ
Thread (212 messages) 212 messages, 15 authors, last reply 5d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help