Re: [PATCH RFC v2 8/9] attestation: Add the TDX family specification and generated files

From: Jarkko Sakkinen

Date: Thu Dec 03 2026 - 06:30:23 EST


On Thu, Dec 03, 2026 at 10:53:26AM +0100, Jiri Pirko wrote:
> Wed, Dec 02, 2026 at 10:31:56PM +0100, jarkko@xxxxxxxxxx wrote:
>
> [..]
>
> >
> >One more why that came to mind from this: why yaml? Not for or against;
> >I just have not found out so far where the roots are for that pick.
>
> The spec is input to a generator: the uAPI header, the kernel's
> schema tables, the user library, ctlvctl's tables and the ABI check
> all come out of it. So it has to be something a tool reads and a
> reviewer can still read in a patch, with comments. The kernel
> already writes its netlink specs and DT bindings in YAML, and the
> tools to check a file against a schema exist. Nothing deeper than
> that. Looks like the best fit for the job.

Fine by me, thanks for sharing.

Br, Jarkko