[PATCH v4 0/7] Improve tlb range flush

From: Yong Wu
Date: Tue Oct 15 2019 - 23:33:29 EST

This patchset mainly fixes a tlb flush timeout issue and use the new
iommu_gather to re-implement the tlb flush flow. and several clean up
patches about the tlb_flush.

change note:

v4: 1. Add a new tlb_lock for tlb operations.
2. Delete the pgtlock.
3. Remove the "writel" patch.

v3: https://lore.kernel.org/linux-iommu/1571035101-4213-1-git-send-email-yong.wu@xxxxxxxxxxxx/T/#t
1. Use the gather to implement the tlb_flush suggested from Tomasz.
2. add some clean up patches.

1. rebase on v5.4-rc1
2. only split to several patches.


Yong Wu (7):
iommu/mediatek: Correct the flush_iotlb_all callback
iommu/mediatek: Add a new tlb_lock for tlb_flush
iommu/mediatek: Use gather to achieve the tlb range flush
iommu/mediatek: Delete the leaf in the tlb_flush
iommu/mediatek: Move the tlb_sync into tlb_flush
iommu/mediatek: Get rid of the pgtlock
iommu/mediatek: Reduce the tlb flush timeout value

drivers/iommu/mtk_iommu.c | 88 +++++++++++++++--------------------------------
drivers/iommu/mtk_iommu.h | 2 +-
2 files changed, 29 insertions(+), 61 deletions(-)