[GIT PULL] tee memref null for v5.10

From: Jens Wiklander
Date: Fri Aug 21 2020 - 06:25:45 EST


Hello arm-soc maintainers,

Please pull this patch enabling a TEE client to indicate a NULL pointer
instead of a valid buffer when invoking a Trusted Application.

Thanks,
Jens

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-memref-null-for-v5.10

for you to fetch changes up to ba171d3f0850003216fd1a85190d17b1feddb961:

driver: tee: Handle NULL pointer indication from client (2020-08-21 08:55:13 +0200)

----------------------------------------------------------------
Handle NULL pointer indication from tee client

Adds support to indicate NULL pointers instead of a valid buffer when
querying the needed size of a buffer.

----------------------------------------------------------------
Cedric Neveux (1):
driver: tee: Handle NULL pointer indication from client

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(-)