]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/mediatek: Move the tlb_sync into tlb_flush
authorYong Wu <yong.wu@mediatek.com>
Mon, 4 Nov 2019 07:01:06 +0000 (15:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 11 Nov 2019 14:02:34 +0000 (15:02 +0100)
commit1f4fd6248139b5406bb9cf1dde25dbec05f6c57e
tree82e075d510d0213d02e79061c221b47fc4af5333
parent67caf7e2b5a4701b24ef8ccc3b49f4e24f473fc8
iommu/mediatek: Move the tlb_sync into tlb_flush

Right now, the tlb_add_flush_nosync and tlb_sync always appear together.
we merge the two functions into one(also move the tlb_lock into the new
function). No functional change.

Signed-off-by: Chao Hao <chao.hao@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
drivers/iommu/mtk_iommu.h