Re: [PATCH RFC v2 8/9] attestation: Add the TDX family specification and generated files
From: Jiri Pirko
Date: Thu Dec 03 2026 - 04:55:58 EST
Wed, Dec 02, 2026 at 09:11:30PM +0100, jgg@xxxxxxxxxx wrote:
>On Fri, Nov 13, 2026 at 05:08:37PM +0100, Jiri Pirko wrote:
>
>> +records:
>> + # Fills ctlv-attestation's device-info.
>> + device-info:
>
>I feel like this should have some more syntax around it, this is not
>introducing a new record, but it is hooking an extension point set
>somewhere else. Without knowing about that there is no way to
>understand what is happening just from this text.
>
>Maybe it should be in an 'extensions' section for more clarity?
>
>I'm also wondering about the symbol namespaces, how does that work?
>
>Like this is in the tdx yaml, so how does it know to look in the
>attestation yaml for this? Are the names system wide global or just
>global to all inheriting yamls?
>
>It seems like this could be regreful down the road, maybe names should
>be fully qualified for extensions:
>
>extensions:
> attestation.device-info:
> mrconfigid: binary(48)
>
>?
Yeah, I was thinking about marking the "extension" somehow as well. I
just didn't find any need other than making it obvious to the reader,
which may be enough reason at the end :)
Will think about that.