iommu/exynos: Block SYSMMU while invalidating FLPD cache
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Mar 2017 09:17:56 +0000 (10:17 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2017 14:50:32 +0000 (15:50 +0100)
commit7d2aa6b814476a2e2794960f844344519246df72
tree5a045bfc23009afcb7fcd3e8fa750979ef8caddc
parent5003ae1e735e6bfe4679d9bed6846274f322e77e
iommu/exynos: Block SYSMMU while invalidating FLPD cache

Documentation specifies that SYSMMU should be in blocked state while
performing TLB/FLPD cache invalidation, so add needed calls to
sysmmu_block/unblock.

Fixes: 66a7ed84b345d ("iommu/exynos: Apply workaround of caching fault page table entries")
CC: stable@vger.kernel.org # v4.10+
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c