iommu/exynos: Don't read version register on every tlb operation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 May 2015 13:20:24 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 08:49:02 +0000 (10:49 +0200)
commit512bd0c6cced8264dae4c7439fef54507548a72d
treebba0d21443fccf74a7ffb47b865d09d51c173db9
parentd7ef9995f1d9e394f994b9a1755cccb21ba3e421
iommu/exynos: Don't read version register on every tlb operation

This patch removes reading of REG_MMU_VERSION register on every tlb
operation and caches SYSMMU version in driver's internal data.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c