iommu/mediatek: Get rid of the pgtlock
authorYong Wu <yong.wu@mediatek.com>
Mon, 4 Nov 2019 07:01:07 +0000 (15:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 11 Nov 2019 14:02:34 +0000 (15:02 +0100)
commit60829b4d00aa2f45f419ff62fb487063153a1d71
tree3479271643ff13d86bf6af9ba16fb7fcf2919de3
parent1f4fd6248139b5406bb9cf1dde25dbec05f6c57e
iommu/mediatek: Get rid of the pgtlock

Now we have tlb_lock for the HW tlb flush, then pgtable code hasn't
needed the external "pgtlock" for a while. this patch remove the
"pgtlock".

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