android: ion: add support for HPA exception area
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 3 May 2018 08:14:01 +0000 (17:14 +0900)
committerhyesoo.yu <hyesoo.yu@samsung.com>
Tue, 29 May 2018 06:31:41 +0000 (15:31 +0900)
commita01271ee440e7c1227dd7e0e16ae483106f1f138
tree2be788ae69cac4bb19cb0738c6bfc98a48c5c7cc
parent1b4af3728a3b94d7f46957d8bcb1fca979660c56
android: ion: add support for HPA exception area

ION HPA Heap allocates pages for Secure DRM from HPA. But some memory
areas are not allowed to protect for Secure DRM.
The areas are declared in the property 'ion,hpa_alloc_exception' under
a device tree node 'ion-hpa-heap'. It should be found by ION during
heap initialization and passed to HPA when allocating Secure DRM
buffers.

Change-Id: I47585bad0a5b11dec140994714788f7aa918ccc1
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/staging/android/ion/ion_exynos.h
drivers/staging/android/ion/ion_fdt_exynos.c
drivers/staging/android/ion/ion_hpa_heap.c