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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:20 +0000 (20:22 +0300)
commit18f921b409a77bd32ca464ee7a771a2751a4dafb
tree2dfd6d30668ec89604c4a71f32898600e509645b
parent07a733efafa4c6bfb04d17a36449a1a48461dde4
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