diff options
author | Sumit Garg <[email protected]> | 2023-08-22 16:59:33 +0530 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2023-10-24 03:06:35 +0300 |
commit | c745cd1718b7825d69315fe7127e2e289e617598 (patch) | |
tree | 7ca3fcb2c2559b28294f3a552b64339ed5f151b2 /scripts/generate_rust_analyzer.py | |
parent | 31de287345f41bbfaec36a5c8cbdba035cf76442 (diff) |
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: [email protected] # v5.16+
Fixes: 4615e5a34b95 ("optee: add FF-A support")
Reported-by: Jens Wiklander <[email protected]>
Signed-off-by: Sumit Garg <[email protected]>
Tested-by: Jens Wiklander <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions