Re: [PATCH 4/5] x86/virt/tdx: Support global metadata read for all element sizes

From: Edgecombe, Rick P
Date: Fri May 03 2024 - 14:35:42 EST


On Fri, 2024-05-03 at 12:26 +0000, Huang, Kai wrote:
>
> To resolve this once for all, extend the existing metadata reading code
> to provide a generic metadata read infrastructure which supports reading
> all 8/16/32/64 bits element sizes.

I think the key point is that it is actually simpler to support all field types
then only 16 and 64.