Re: [PATCH 0/1] tee: Add tee_shm_register_fd

From: Sumit Garg
Date: Fri Aug 12 2022 - 10:01:58 EST


Hi Olivier,

On Thu, 11 Aug 2022 at 19:26, Olivier Masse <olivier.masse@xxxxxxx> wrote:
>
> Add a new ioctl called TEE_IOC_SHM_REGISTER_FD to register a
> shared memory from a dmabuf file descriptor.
>

IIRC, here you are trying to fill the gap for OP-TEE SDP use-case. But
the use-case should be described here, its current status with OP-TEE
upstream and which platform you have tested this interface with?

-Sumit

> Etienne Carriere (1):
> tee: new ioctl to a register tee_shm from a dmabuf file descriptor
>
> drivers/tee/tee_core.c | 38 +++++++++++++++
> drivers/tee/tee_shm.c | 99 +++++++++++++++++++++++++++++++++++++++-
> include/linux/tee_drv.h | 11 +++++
> include/uapi/linux/tee.h | 29 ++++++++++++
> 4 files changed, 175 insertions(+), 2 deletions(-)
>
> --
> 2.25.0
>