AMD/IOMMU: consider hidden devices when flushing device I/O TLBs
authorJan Beulich <jbeulich@suse.com>
Fri, 15 Oct 2021 09:19:41 +0000 (11:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Oct 2021 09:19:41 +0000 (11:19 +0200)
commit49b0aef3f916e325e10d7d90ea25ea0321ac0d48
treedd39c11649e6ffa2fc981f3af3fd566b95f8c2ff
parent37ea2893e978ab311107f3e8cfdb8aaf8523f9fd
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>
master commit: 036432e8b27e1ef21e0f0204ba9b0e3972a031c2
master date: 2021-10-12 11:54:34 +0200
xen/drivers/passthrough/amd/iommu_cmd.c