mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
c745cd1718
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
tpm2key.asn1 | ||
trusted_caam.c | ||
trusted_core.c | ||
trusted_tee.c | ||
trusted_tpm1.c | ||
trusted_tpm2.c |