[COMMON] iommu/exynos: add domain alloc/free
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Sat, 23 Apr 2016 07:00:10 +0000 (16:00 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:18 +0000 (19:45 +0900)
commitbae1e1973b99a3b721c3bc613cae0ed36225a971
tree018edf63d04b13336c7bc18256d15bd17c96d07d
parentdae08cca1abbe58fbfb8cf504f8152849d329244
[COMMON] iommu/exynos: add domain alloc/free

iommu domain represents virtual address spaces for client device.
domain_alloc creates page table for each domain and initialize domain
related data structures.
domain_free cleans up attached client list and releases domain related
information.

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