]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'optee-rpc-arg-for-v5.19' of https://git.linaro.org/people/jens.wiklander...
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 May 2022 14:01:21 +0000 (16:01 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 5 May 2022 14:01:22 +0000 (16:01 +0200)
commit28546381dc1f78ae84b6a240fe0113aa77e3cb64
tree7b31bde8c4911331e283b2f1d0013402c684cd21
parent28bc1745302d5ca0c833aee3ddbb1e0075a99d6d
parent8192e6b6d09cd13a05daf9d35411ce115b53a84a
Merge tag 'optee-rpc-arg-for-v5.19' of https://git.linaro.org/people/jens.wiklander/linux-tee into arm/drivers

OP-TEE RPC argument cache

Adds caching of the OP-TEE argument structure used to pass request to
secure world. This reduces quite a bit of unnecessary alloc/free and
possibly switching back and forth to secure work in order to register
the buffers in some configurations, most notably FF-A.

* tag 'optee-rpc-arg-for-v5.19' of https://git.linaro.org/people/jens.wiklander/linux-tee:
  optee: cache argument shared memory structs
  optee: add FF-A capability OPTEE_FFA_SEC_CAP_ARG_OFFSET
  optee: add OPTEE_SMC_CALL_WITH_RPC_ARG and OPTEE_SMC_CALL_WITH_REGD_ARG
  optee: rename rpc_arg_count to rpc_param_count

Link: https://lore.kernel.org/r/20220504201759.GA180315@jade
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/tee/optee/call.c
drivers/tee/optee/ffa_abi.c