diff options
author | Yong Wu <yong.wu@mediatek.com> | 2019-11-04 08:01:02 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-11-11 15:02:33 +0100 |
commit | 2009122f1d83dd8375572661961eab1e7e86bffe (patch) | |
tree | 3f3093c15a460dd9355a0f17bc3d11fc9fc40061 /drivers/iommu/mtk_iommu.c | |
parent | memory: mtk-smi: Add PM suspend and resume ops (diff) | |
download | linux-2009122f1d83dd8375572661961eab1e7e86bffe.tar.xz linux-2009122f1d83dd8375572661961eab1e7e86bffe.zip |
iommu/mediatek: Correct the flush_iotlb_all callback
Use the correct tlb_flush_all instead of the original one.
Fixes: 4d689b619445 ("iommu/io-pgtable-arm-v7s: Convert to IOMMU API TLB sync")
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu.c')
-rw-r--r-- | drivers/iommu/mtk_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index 67a483c1a935..76b9388cf689 100644 --- a/drivers/iommu/mtk_iommu.c +++ b/drivers/iommu/mtk_iommu.c @@ -447,7 +447,7 @@ static size_t mtk_iommu_unmap(struct iommu_domain *domain, static void mtk_iommu_flush_iotlb_all(struct iommu_domain *domain) { - mtk_iommu_tlb_sync(mtk_iommu_get_m4u_data()); + mtk_iommu_tlb_flush_all(mtk_iommu_get_m4u_data()); } static void mtk_iommu_iotlb_sync(struct iommu_domain *domain, |