Re: [PATCH v3 1/9] x86/virt/tdx: Add SEAMCALL wrappers for IOMMU setup/clear
From: Baolu Lu
Date: Tue Nov 24 2026 - 23:27:53 EST
On 11/25/2026 11:08 AM, Tian, Kevin wrote:
From: Baolu Lu<baolu.lu@xxxxxxxxxxxxxxx>Can you double confirm it? I can see two "Secure TDX Mode"s and one
Sent: Wednesday, November 25, 2026 10:47 AM
On 11/24/2026 4:07 PM, Tian, Kevin wrote:
mustFrom: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>
Sent: Thursday, November 12, 2026 12:31 PM
Intel VT-d hardware gains a second set of DMA translation structures,
managed by the TDX module and used only for devices assigned to TDs.
Each IOMMU has a trusted root-table address register and a trusted
invalidation queue, both accessible only from SEAM. The existing
untrusted DMA translation path of the IOMMU stays under host control.
Before trusted DMA can be used through an IOMMU, the TDX module
Secure TDX Mode is the term used in TDX Connect ABI specification.initialize these resources. TDH.IOMMU.SETUP does this: it puts thes/Secure TDX Mode/TDX mode/, across the series
IOMMU into Secure TDX Mode, programs the trusted root table and the
"TDX Mode" in the public spec. so it's inconsistent.
Then from the internal ABI spec, still two "Secure TDX Mode"s but a lot
of more "TDX mode"s...
You're right, the spec isn't consistent, and "TDX mode" is clear enough.
I'll use "TDX mode" across the series.
Thanks,
baolu