[COMMON] exynos/iommu: add suspended state
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Fri, 27 May 2016 01:23:56 +0000 (10:23 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:19 +0000 (19:45 +0900)
commit5cd932de53ae822380957be0298ca1042fe9a551
tree6fb2ab1129fe4137327344bb137eecd536212e13
parent37c287523f1eb5c19733c1f37af411c3690b30fd
[COMMON] exynos/iommu: add suspended state

This patch added suspended state that becomes true when sysmmu goes to
suspend state. No SFR access is allowed if sysmmu is in suspended.

Without suspended state, some operation involving SFR access like tlb
invalidation would make external abort because it only checks internal
reference count before SFR access, and internal reference count is
remained after sysmmu becomes suspend state.

Change-Id: I7460e8b0b96de5f46584cc299dc2e659fc34da44
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/iommu/exynos-iommu.c
drivers/iommu/exynos-iommu.h