Re: [PATCH v5 11/12] qcomtee: enable TEE_IOC_SHM_ALLOC ioctl

2025-07-07 Thread Sumit Garg
On Mon, May 26, 2025 at 11:56:56PM -0700, Amirreza Zarrabi wrote: > 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, i

[PATCH v5 11/12] qcomtee: enable TEE_IOC_SHM_ALLOC ioctl

2025-05-26 Thread Amirreza Zarrabi
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/O