linux_dsm_epyc7002/drivers/tee/optee
Sumit Garg a249dd200d tee: optee: Fix dynamic shm pool allocations
In case of dynamic shared memory pool, kernel memory allocated using
dmabuf_mgr pool needs to be registered with OP-TEE prior to its usage
during optee_open_session() or optee_invoke_func().

So fix dmabuf_mgr pool allocations via an additional call to
optee_shm_register().

Also, allow kernel pages to be registered as shared memory with OP-TEE.

Fixes: 9733b072a1 ("optee: allow to work without static shared memory")
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2019-11-15 11:31:11 +01:00
..
call.c tee: optee: Fix dynamic shm pool allocations 2019-11-15 11:31:11 +01:00
core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
device.c tee: optee: Fix unsigned comparison with less than zero 2019-02-20 17:57:47 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile tee: optee: add TEE bus device enumeration support 2019-02-01 15:12:46 +01:00
optee_msg.h tee: optee: update optee_msg.h and optee_smc.h to dual license 2019-02-28 13:49:29 +01:00
optee_private.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
optee_smc.h tee: optee: update optee_msg.h and optee_smc.h to dual license 2019-02-28 13:49:29 +01:00
rpc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
shm_pool.c tee: optee: Fix dynamic shm pool allocations 2019-11-15 11:31:11 +01:00
shm_pool.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
supp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00