[PATCH v6 0/2] Enhance TEE kernel client interface

From: Sumit Garg
Date: Fri Mar 27 2020 - 01:30:09 EST


Earlier this patch-set was part of TEE Trusted keys patch-set [1]. But
since these are completely independent enhancements for TEE kernel
client interface which can be merged separately while TEE Trusted keys
discussions are ongoing.

Patch #1 enables support for registered kernel shared memory with TEE.

Patch #2 enables support for private kernel login method required for
cases like trusted keys where we don't wan't user-space to directly
access TEE service.

[1] https://lkml.org/lkml/2019/10/31/430

Changes in v6:
- Reserve only half of GP implementation defined range for kernel space.

Changes in v5:
- Misc. renaming of variables.

Sumit Garg (2):
tee: enable support to register kernel memory
tee: add private login method for kernel clients

drivers/tee/tee_core.c | 7 +++++++
drivers/tee/tee_shm.c | 28 +++++++++++++++++++++++++---
include/linux/tee_drv.h | 1 +
include/uapi/linux/tee.h | 9 +++++++++
4 files changed, 42 insertions(+), 3 deletions(-)

--
2.7.4