Re: [PATCH v4 04/20] iommu: Introduce iotlb_sync_map callback

2018-09-24 Thread Thierry Reding
On Mon, Sep 24, 2018 at 03:41:37AM +0300, Dmitry Osipenko wrote: > Introduce iotlb_sync_map() callback that is invoked in the end of > iommu_map(). This new callback allows IOMMU drivers to avoid syncing > after mapping of each contiguous chunk and sync only when the whole > mapping is completed, o

[PATCH v4 04/20] iommu: Introduce iotlb_sync_map callback

2018-09-23 Thread Dmitry Osipenko
Introduce iotlb_sync_map() callback that is invoked in the end of iommu_map(). This new callback allows IOMMU drivers to avoid syncing after mapping of each contiguous chunk and sync only when the whole mapping is completed, optimizing performance of the mapping operation. Signed-off-by: Dmitry Os