IOMMU/x86: drop TLB flushes from quarantine_init() hooks
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Apr 2022 12:48:58 +0000 (14:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Apr 2022 12:48:58 +0000 (14:48 +0200)
commitc9578db9fa509881ef485aa907e80714745870de
treefaf7bf1072d9b1d11cf20bd11d52f8c575636f9b
parent3e65372436fb6bbfdc59e4175d4a41b398000e0a
IOMMU/x86: drop TLB flushes from quarantine_init() hooks

The page tables just created aren't hooked up yet anywhere, so there's
nothing that could be present in any TLB, and hence nothing to flush.
Dropping this flush is, at least on the VT-d side, a prereq to per-
device domain ID use when quarantining devices, as dom_io isn't going
to be assigned a DID anymore: The warning in get_iommu_did() would
trigger.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
master commit: 54c5cef49239e2f27ec3b3fc8804bf57aa4bf46d
master date: 2022-04-05 14:19:42 +0200
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/vtd/iommu.c