From: Yong Wu Date: Mon, 4 Nov 2019 07:01:02 +0000 (+0800) Subject: iommu/mediatek: Correct the flush_iotlb_all callback X-Git-Tag: v5.5-rc1~77^2^5~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2009122f1d83dd8375572661961eab1e7e86bffe;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Robin Murphy Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index 67a483c1a9357..76b9388cf6892 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,