mirror-linux/drivers/tee/qcomtee
Amirreza Zarrabi 87ab676d90 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>
2025-09-15 17:34:06 +02:00
..
Kconfig
Makefile tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
async.c
call.c tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
core.c
mem_obj.c tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
primordial_obj.c tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
qcomtee.h tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
qcomtee_msg.h
qcomtee_object.h
shm.c tee: qcom: enable TEE_IOC_SHM_ALLOC ioctl 2025-09-15 17:34:06 +02:00
user_obj.c