linux/drivers/tee/optee
Volodymyr Babchuk 53a107c812 tee: optee: add registered buffers handling into RPC calls
With latest changes to OP-TEE we can use any buffers as a shared memory.
Thus, it is possible for supplicant to provide part of own memory
when OP-TEE asks to allocate a shared buffer.

This patch adds support for such feature into RPC handling code.
Now when OP-TEE asks supplicant to allocate shared buffer, supplicant
can use TEE_IOC_SHM_REGISTER to provide such buffer. RPC handler is
aware of this, so it will pass list of allocated pages to OP-TEE.

Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
[jw: fix parenthesis alignment in free_pages_list()]
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2017-12-15 13:35:37 +01:00
..
call.c tee: optee: add registered buffers handling into RPC calls 2017-12-15 13:35:37 +01:00
core.c tee: optee: add registered buffers handling into RPC calls 2017-12-15 13:35:37 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
optee_msg.h tee: optee: Update protocol definitions 2017-12-15 13:32:31 +01:00
optee_private.h tee: optee: add registered buffers handling into RPC calls 2017-12-15 13:35:37 +01:00
optee_smc.h tee: optee: Update protocol definitions 2017-12-15 13:32:31 +01:00
rpc.c tee: optee: add registered buffers handling into RPC calls 2017-12-15 13:35:37 +01:00
supp.c