Re: [PATCH v3 5/7] iommu: Introduce TDISP T=0 state for confidential IOMMUs
From: Nicolin Chen
Date: Wed Nov 25 2026 - 23:49:45 EST
On Wed, Nov 25, 2026 at 02:07:45PM -0400, Jason Gunthorpe wrote:
> Though I am wondering if we really need the ATS stuff. Why do we need
> that? The pci_ats_required() in the hypervisor should force ATS since
> the hypervisor is not going to construct a vSTE or use a nesting
> domain that would inhibit that? Can we just drop this whole patch?
Ah, you're right. It was added for non-pci_ats_required (non-CXL)
cases where the ATS state needs to be in sync with the hypervisor.
However, the justification/usecase here is pci_ats_required alone.
One small concern is whether VMM always exposes the underlying ATS
state or not to the guest VM. QEMU seems to do so. I did a test by
dropping the patch: lspci in the VM still shows: ATSCtl: Enable+
Nicolin