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

iommu: Introduce struct iommu_iotlb_gather for batching TLB flushes



To permit batching of TLB flushes across multiple calls to the IOMMU
driver's ->unmap() implementation, introduce a new structure for
tracking the address range to be flushed and the granularity at which
the flushing is required.

This is hooked into the IOMMU API and its caller are updated to make use
of the new structure. Subsequent patches will plumb this into the IOMMU
drivers as well, but for now the gathering information is ignored.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 298f7889
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