On Fri, Jul 10, 2020 at 12:18 PM Jens Wiklander jens.wiklander@linaro.org wrote:
From: Cedric Neveux cedric.neveux@nxp.com
TEE Client introduce a new capability "TEE_GEN_CAP_MEMREF_NULL" to handle the support of the shared memory buffer with a NULL pointer.
This capability depends on TEE Capabilities and driver support. Driver and TEE exchange capabilities at driver initialization.
Signed-off-by: Michael Whitfield michael.whitfield@nxp.com Signed-off-by: Cedric Neveux cedric.neveux@nxp.com Reviewed-by: Joakim Bech joakim.bech@linaro.org Tested-by: Joakim Bech joakim.bech@linaro.org (QEMU) Signed-off-by: Jens Wiklander jens.wiklander@linaro.org
drivers/tee/optee/core.c | 7 +++++ drivers/tee/optee/optee_smc.h | 3 +++ drivers/tee/tee_core.c | 49 ++++++++++++++++++++++------------- include/linux/tee_drv.h | 3 +++ include/uapi/linux/tee.h | 13 ++++++++++ 5 files changed, 57 insertions(+), 18 deletions(-)
I almost forgot this one. I'm picking this up.
Cheers, Jens