]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Introduce iommu_iotlb_gather_add_page()
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 15:43:57 +0000 (16:43 +0100)
committerWill Deacon <will@kernel.org>
Wed, 24 Jul 2019 12:35:27 +0000 (13:35 +0100)
commit44eacd7feeaa67a3de22fce3e9514b17203a6b26
tree172f536ba5c9db2f4b79e679f49499a4efba0b8a
parent11f35ae727474f7134bdc6a03e719bb6feeebe27
iommu: Introduce iommu_iotlb_gather_add_page()

Introduce a helper function for drivers to use when updating an
iommu_iotlb_gather structure in response to an ->unmap() call, rather
than having to open-code the logic in every page-table implementation.

Signed-off-by: Will Deacon <will@kernel.org>
include/linux/iommu.h