tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl
Enable userspace to allocate shared memory with QTEE. Since QTEE handles shared memory as object, a wrapper is implemented to represent tee_shm as an object. The shared memory identifier, obtained through TEE_IOC_SHM_ALLOC, is transferred to the driver using TEE_IOCTL_PARAM_ATTR_TYPE_OBJREF_INPUT/OUTPUT. Tested-by:Neil Armstrong <neil.armstrong@linaro.org> Acked-by:
Sumit Garg <sumit.garg@oss.qualcomm.com> Tested-by:
Harshal Dev <quic_hdev@quicinc.com> Signed-off-by:
Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com> Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
Loading
Please sign in to comment