Hi Jens,
On mar., 2022-08-16 at 10:17 +0200, Jens Wiklander wrote:
Caution: EXT Email
Hi Olivier,
On Fri, Aug 12, 2022 at 4:31 PM Olivier Masse olivier.masse@nxp.com wrote:
Add a new ioctl called TEE_IOC_SHM_REGISTER_FD to register a shared memory from a dmabuf file descriptor. This new ioctl will allow the Linux Kernel to register a buffer to be used by the Secure Data Path OPTEE OS feature.
Please find more information here:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstatic.lin...
Patch tested on Hikey 6220.
What's new in this V2?
Just updated the cover letter and minor change to fix a build error with gcc-11 for x86 architecture:
./usr/include/linux/tee.h:136:13: error: expected declaration
specifiers or '...' before numeric constant 136 | } __aligned(8); | ^
Best regards, Olivier
Thanks, Jens
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