summaryrefslogtreecommitdiff
path: root/drivers/iommu/virtio-iommu.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-07-02 16:43:48 +0100
committerWill Deacon <will@kernel.org>2019-07-24 13:35:27 +0100
commita7d20dc19d9ea7012227be5144353012ffa3ddc4 (patch)
tree1068bf66db02fd09120ab41353378e648b6e781f /drivers/iommu/virtio-iommu.c
parent298f78895b081911e0b3605f07d79ebd3d4cf7b0 (diff)
downloadlinux-a7d20dc19d9ea7012227be5144353012ffa3ddc4.tar.gz
linux-a7d20dc19d9ea7012227be5144353012ffa3ddc4.tar.bz2
linux-a7d20dc19d9ea7012227be5144353012ffa3ddc4.zip
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: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/virtio-iommu.c')
0 files changed, 0 insertions, 0 deletions