adt3-S optee_linuxdriver source code [1/1]
authorLiang Ji <liang.ji@amlogic.com>
Tue, 15 Jun 2021 04:47:49 +0000 (12:47 +0800)
committerLiang Ji <liang.ji@amlogic.com>
Tue, 15 Jun 2021 04:51:13 +0000 (12:51 +0800)
commit74e2655ff8028b211309fb7b8f3469dc329e9079
tree3fecf6c0d25585f18684ddd364741e6c182c7337
parentd5b59da7d9793b910bac560f841b183edfda7bbd
adt3-S optee_linuxdriver source code [1/1]

internal tot CL:

optee: remove registered shm argument size check

RSP-1789

We don't need to return error if output shm size is larger than
allocated buffer. This is pefrectly fine. In this way TEE or TA
reports that it needs larger buffer (as described in
TEE Client API Specification v1.0, section 3.2.5.).

Change-Id(I41627f02f94a76a6e4fb70f7f6a96111297bba8f)
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I0cc82536ba403403cd3c98ef0c177f09b62df280
26 files changed:
Android.mk [new file with mode: 0644]
Kconfig [new file with mode: 0644]
Makefile [new file with mode: 0644]
build.sh [new file with mode: 0755]
include/linux/arm-smccc.h [new file with mode: 0644]
include/linux/tee.h [new file with mode: 0644]
include/linux/tee_data_pipe.h [new file with mode: 0644]
include/linux/tee_drv.h [new file with mode: 0644]
optee/Kconfig [new file with mode: 0644]
optee/Makefile [new file with mode: 0644]
optee/call.c [new file with mode: 0644]
optee/core.c [new file with mode: 0644]
optee/log.c [new file with mode: 0644]
optee/optee_msg.h [new file with mode: 0644]
optee/optee_private.h [new file with mode: 0644]
optee/optee_smc.h [new file with mode: 0644]
optee/rpc.c [new file with mode: 0644]
optee/smccc-call-a32.S [new file with mode: 0644]
optee/smccc-call.S [new file with mode: 0644]
optee/supp.c [new file with mode: 0644]
optee/watermark.c [new file with mode: 0644]
tee_core.c [new file with mode: 0644]
tee_data_pipe.c [new file with mode: 0644]
tee_private.h [new file with mode: 0644]
tee_shm.c [new file with mode: 0644]
tee_shm_pool.c [new file with mode: 0644]