Re: [PATCH 01/15] x86/virt/tdx: Read global metadata for TDX Module Extensions
From: Dave Hansen
Date: Mon Jun 15 2026 - 12:09:59 EST
On 6/12/26 15:20, Dan Williams (nvidia) wrote:
>> Check TDX_FEATURES0 before reading these metadata. If a feature is
>> advertised, a failure in reading associated metadata causes the entire
>> TDX initialization to fail, otherwise skip.
> Others already commented on the patch ordering, so I will just comment
> on the changelog to recommend referring back to the "any available
> extension, all the time" implementation policy rather than saying "Linux
> requires" which is ambiguous.
One other note on this: the current Linux policy of "any available
extension, all the time" is the simplest possible functional policy. If
Linux has one policy, I think that's the one it should have.
That said, I'm open to the idea that users might desire other policies.
We should absolutely explore them another day in another series.