Re: [PATCH] driver: tee: Handle NULL pointer indication from client
From: Jens Wiklander
Date: Fri Aug 21 2020 - 06:09:39 EST
On Fri, Jul 10, 2020 at 12:18 PM Jens Wiklander
<jens.wiklander@xxxxxxxxxx> wrote:
>
> From: Cedric Neveux <cedric.neveux@xxxxxxx>
>
> 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@xxxxxxx>
> Signed-off-by: Cedric Neveux <cedric.neveux@xxxxxxx>
> Reviewed-by: Joakim Bech <joakim.bech@xxxxxxxxxx>
> Tested-by: Joakim Bech <joakim.bech@xxxxxxxxxx> (QEMU)
> Signed-off-by: Jens Wiklander <jens.wiklander@xxxxxxxxxx>
> ---
> 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