[PATCH 0/2] Add qcom secure heaps

From: Pratyush Brahma
Date: Wed Nov 22 2023 - 08:48:27 EST


From: Vijayanand Jitta <quic_vjitta@xxxxxxxxxxx>

This patch series is based on mtk patch series [1] of
adding secure heap support.

This patch series adds support for qcom secure heaps which
include secure cma heap and secure system heap, this does
use qcom_scm_assign_mem to secure the memory.

Video would be the user of these heaps and the corresponding
VMIDs are also as added as part of these.


[1] https://lore.kernel.org/linux-arm-kernel/20231111111559.8218-2-yong.wu@xxxxxxxxxxxx/T/

Vijayanand Jitta (2):
dma-buf: heaps: secure_heap: Add secure ops for CMA heap
dma-buf: heaps: secure_heap: Add qcom secure system heap

drivers/dma-buf/heaps/secure_heap.c | 207 +++++++++++++++++++++++++++-
1 file changed, 204 insertions(+), 3 deletions(-)

--
2.34.1