Skip to content
Commit 6bd06f5a authored by Suravee Suthikulpanit's avatar Suravee Suthikulpanit Committed by Alex Williamson
Browse files

vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs



VFIO IOMMU type1 currently upmaps IOVA pages synchronously, which requires
IOTLB flushing for every unmapping. This results in large IOTLB flushing
overhead when handling pass-through devices has a large number of mapped
IOVAs. This can be avoided by using the new IOTLB flushing interface.

Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Joerg Roedel <joro@8bytes.org>
Signed-off-by: default avatarSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
[aw - use LIST_HEAD]
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent c698ca52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment