AMD/IOMMU: consider hidden devices when flushing device I/O TLBs
authorJan Beulich <jbeulich@suse.com>
Tue, 12 Oct 2021 09:54:34 +0000 (11:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Oct 2021 09:54:34 +0000 (11:54 +0200)
commit036432e8b27e1ef21e0f0204ba9b0e3972a031c2
tree504e7073537e582a4d611b57e2f912f4a9b26b60
parente5ba9f79ef4517321e80e0eb6e4aafc3a978e689
AMD/IOMMU: consider hidden devices when flushing device I/O TLBs

Hidden devices are associated with DomXEN but usable by the
hardware domain. Hence they need flushing as well when all devices are
to have flushes invoked.

While there drop a redundant ATS-enabled check and constify the first
parameter of the involved function.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/drivers/passthrough/amd/iommu_cmd.c