Re: [PATCH v4 04/20] iommu: Introduce iotlb_sync_map callback
From: Thierry Reding
Date: Mon Sep 24 2018 - 06:06:34 EST
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@xxxxxxxxx>
> Reviewed-by: Robin Murphy <robin.murphy@xxxxxxx>
> ---
> drivers/iommu/iommu.c | 8 ++++++--
> include/linux/iommu.h | 1 +
> 2 files changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature