mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
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 <[email protected]> Acked-by: Sumit Garg <[email protected]> Tested-by: Harshal Dev <[email protected]> Signed-off-by: Amirreza Zarrabi <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>