commit | a7a04ea34e1c483d10d3e72250ff5503b1076fe3 | [log] [tgz] |
---|---|---|
author | Yong Wu <yong.wu@mediatek.com> | Mon Nov 04 15:01:04 2019 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Nov 11 15:02:34 2019 +0100 |
tree | bcee15eff9401350fa569ced4209d3f5990087a9 | |
parent | da3cc91b8db403728cde03c8a95cba268d8cbf1b [diff] |
iommu/mediatek: Use gather to achieve the tlb range flush Use the iommu_gather mechanism to achieve the tlb range flush. Gather the iova range in the "tlb_add_page", then flush the merged iova range in iotlb_sync. Suggested-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>