]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 20 Mar 2017 09:17:57 +0000 (10:17 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2017 14:50:45 +0000 (15:50 +0100)
commitb78958fe812e88f696724cfbd867a8449b4ff201
treee4f92da3f9b6f9e0d06b409d7d8340faba965f4f
parentc875bfb1fde5f022670087425c86b84dc8d2c1b6
iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5

For some unknown reasons, in some cases, FLPD cache invalidation doesn't
work properly with SYSMMU v5 controllers found in Exynos5433 SoCs. This
can be observed by a firmware crash during initialization phase of MFC
video decoder available in the mentioned SoCs when IOMMU support is
enabled. To workaround this issue perform a full TLB/FLPD invalidation
in case of replacing any first level page descriptors in case of SYSMMU v5.

Fixes: 9a4d5b8f92be9 ("iommu/exynos: Add support for v5 SYSMMU")
CC: stable@vger.kernel.org # v4.10+
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c