iommu/io-pgtable-arm-v7s: Convert to IOMMU API TLB sync
authorRobin Murphy <robin.murphy@arm.com>
Thu, 28 Sep 2017 14:55:02 +0000 (15:55 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 2 Oct 2017 13:45:25 +0000 (15:45 +0200)
commit4d689b619445894f6b6fcbc496f6d302bd9e44a5
tree2abc05f9245266f226629c993089b08ae18a988b
parent32b124492bdf974f68eaef1bde80dc8058aef002
iommu/io-pgtable-arm-v7s: Convert to IOMMU API TLB sync

Now that the core API issues its own post-unmap TLB sync call, push that
operation out from the io-pgtable-arm-v7s internals into the users. For
now, we leave the invalidation implicit in the unmap operation, since
none of the current users would benefit much from any change to that.

Note that the conversion of msm_iommu is implicit, since that apparently
has no specific TLB sync operation anyway.

CC: Yong Wu <yong.wu@mediatek.com>
CC: Rob Clark <robdclark@gmail.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/io-pgtable-arm-v7s.c
drivers/iommu/mtk_iommu.c
drivers/iommu/qcom_iommu.c