Re: [PATCH v3 2/9] x86/virt/tdx: Read global metadata for trusted IOMMU

From: Baolu Lu

Date: Sun Nov 22 2026 - 23:10:14 EST


On 11/18/2026 9:39 PM, Binbin Wu wrote:
On 11/12/2026 12:30 PM, Lu Baolu wrote:
Add support for reading the global metadata of the trusted IOMMU.

The trusted IOMMU feature is optionally enumerated via TDX_FEATURES0.
Nit:
The feature enumerated is TDX Connect, I don't think they are interchangeable.
Trusted IOMMU is part of TDX Connect, right?

Yes. I will update it like this:

Add support for reading the global metadata of the trusted IOMMU, which
is part of TDX Connect.

TDX Connect support is optionally enumerated via TDX_FEATURES0. Check
this feature bit before reading the metadata to avoid causing the entire
TDX initialization to fail on platforms that do not support it.

Thanks,
baolu