[PATCH] driver: tee: Handle NULL pointer indication from client
Jens Wiklander
jens.wiklander at linaro.org
Fri Aug 21 06:09:22 EDT 2020
On Fri, Jul 10, 2020 at 12:18 PM Jens Wiklander
<jens.wiklander at linaro.org> wrote:
>
> From: Cedric Neveux <cedric.neveux at 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 at nxp.com>
> Signed-off-by: Cedric Neveux <cedric.neveux at nxp.com>
> Reviewed-by: Joakim Bech <joakim.bech at linaro.org>
> Tested-by: Joakim Bech <joakim.bech at linaro.org> (QEMU)
> Signed-off-by: Jens Wiklander <jens.wiklander at 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
More information about the linux-arm-kernel
mailing list