Re: [PATCH 0/6] TDX: Stop metadata auto-generation, improve readability

From: Xu Yilun
Date: Mon Dec 08 2025 - 05:33:54 EST


On Sat, Dec 06, 2025 at 11:44:49PM -0800, dan.j.williams@xxxxxxxxx wrote:
> Xu Yilun wrote:
> > Hi:
> >
> > This addresses the common need [1][2] to stop auto-generating metadata
> > reading code, improve readability, allowing us to manually edit and
> > review metadata code in a comfortable way. TDX Connect needs to add more
> > metadata fields based on this series, and I believe also for DPAMT and
> > TDX Module runtime update.
>
> While the writing is on the wall that the autogenerated metadata
> infrastructure has become more trouble than it is worth, that work can
> come after some of the backlog built on the old way has cleared out.
> These in-flight sets of DPAMT, Module Update, and TDX PCIe Linux
> Encryption can stay with what they started.
>
> I.e. let us not start injecting new dependencies into in-flight review.

Yes, I agree. One of the goal is to minimize the manual changes when a
new metadata is to be added, so I expect minor work for the switching
later.

Thanks,
Yilun