Re: [PATCH 2/2] iommu/amd: Force identity mode for selected GPUs only

Jason Gunthorpe <[email protected]> Fri, 24 Jul 2026 12:11:28 -0300
Newsgroups dev.linux.lists.iommu,org.kernel.vger.linux-pci
Message-ID <[email protected]>
On Thu, Jul 23, 2026 at 04:02:46PM -0500, Bjorn Helgaas wrote:
> I don't think the Root Port is always passed into the guest.  From
> 1ae8c4ce1570 ("PCI: Enable AtomicOps only if Root Port supports
> them"):

If this device has broken support for iommu translation entirely then
vfio is unsuably broken too. The right answer is to refuse to attach a
paging domain to such a device, I think this patch series should be
enhanced to include this.

Like a qurik that says translation is broken and then def domain is
changed and paging attach will fail

Jason