Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
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
Showing
with 73 additions and 33 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment