[COMMON] iommu/exynos: force non-shareable for non-cached buffers
authorCho KyongHo <pullip.cho@samsung.com>
Wed, 4 Jan 2017 08:23:19 +0000 (17:23 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:20 +0000 (19:45 +0900)
commita27e16698983f186f53e49fd8f6858501d922bfb
treeb2f13434e6dd92498cd3693d50f2a5083d66c22f
parent5ea147f9719ed80234ff3dcf8b204319e1bc045e
[COMMON] iommu/exynos: force non-shareable for non-cached buffers

exynos_iovmm_map_userptr() migrates the given userspace mapping to the
device virtual address space. If the given mapping is uncached or
writecombine, cache lines that are allocated to some part of the given
range can be stale. Therefore the mapping is not cached, the mapping
to the System MMU page table should also be non-shareable.

Change-Id: I748ae92525c916d580cb55f9deeb9c43f03a6386
Signe-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/iommu/exynos-iovmm.c