summaryrefslogtreecommitdiffstats
path: root/security/integrity/Kconfig
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2023-08-22 16:59:33 +0530
committerJarkko Sakkinen <jarkko@kernel.org>2023-10-24 03:06:35 +0300
commitc745cd1718b7825d69315fe7127e2e289e617598 (patch)
tree7ca3fcb2c2559b28294f3a552b64339ed5f151b2 /security/integrity/Kconfig
parent31de287345f41bbfaec36a5c8cbdba035cf76442 (diff)
downloadlinux-stable-c745cd1718b7825d69315fe7127e2e289e617598.tar.gz
linux-stable-c745cd1718b7825d69315fe7127e2e289e617598.tar.bz2
linux-stable-c745cd1718b7825d69315fe7127e2e289e617598.zip
KEYS: trusted: tee: Refactor register SHM usage
The OP-TEE driver using the old SMC based ABI permits overlapping shared buffers, but with the new FF-A based ABI each physical page may only be registered once. As the key and blob buffer are allocated adjancently, there is no need for redundant register shared memory invocation. Also, it is incompatibile with FF-A based ABI limitation. So refactor register shared memory implementation to use only single invocation to register both key and blob buffers. [jarkko: Added cc to stable.] Cc: stable@vger.kernel.org # v5.16+ Fixes: 4615e5a34b95 ("optee: add FF-A support") Reported-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security/integrity/Kconfig')
0 files changed, 0 insertions, 0 deletions