| Date | Mon, 24 Sep 2018 12:06:28 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH v4 04/20] iommu: Introduce iotlb_sync_map callback |
| |
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, optimizing performance of the mapping operation. > > Signed-off-by: Dmitry Osipenko <digetx@gmail.com> > Reviewed-by: Robin Murphy <robin.murphy@arm.com> > --- > drivers/iommu/iommu.c | 8 ++++++-- > include/linux/iommu.h | 1 + > 2 files changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] |