Skip to content
Commit 56f8af5e authored by Will Deacon's avatar Will Deacon
Browse files

iommu: Pass struct iommu_iotlb_gather to ->unmap() and ->iotlb_sync()



To allow IOMMU drivers to batch up TLB flushing operations and postpone
them until ->iotlb_sync() is called, extend the prototypes for the
->unmap() and ->iotlb_sync() IOMMU ops callbacks to take a pointer to
the current iommu_iotlb_gather structure.

All affected IOMMU drivers are updated, but there should be no
functional change since the extra parameter is ignored for now.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 4fcf8544
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment