android_kernel_sony_sdm845/drivers/tee/optee
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rui Miguel Silva 6e3cd2a7be UPSTREAM: optee: add writeback to valid memory type
Only in smp systems the cache policy is setup as write alloc, in
single cpu systems the cache policy is set as writeback and it is
normal memory, so, it should pass the is_normal_memory check in the
share memory registration.

Add the right condition to make it work in no smp systems.

Fixes: cdbcf83d29c1 ("tee: optee: check type of registered shared memory")
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
(cherry picked from commit 853735e404244f5496cdb6188c5ed9a0f9627ee6)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I51048c263982850c46b639d12b1bf25604d5dd15
2022-02-21 16:30:33 +01:00
..
call.c UPSTREAM: optee: add writeback to valid memory type 2022-02-21 16:30:33 +01:00
core.c BACKPORT: tee: optee: enable dynamic SHM support 2018-02-21 15:40:43 +00:00
Kconfig
Makefile BACKPORT: tee: optee: add optee-specific shared pool implementation 2018-02-21 15:40:43 +00:00
optee_msg.h BACKPORT: tee: optee: Update protocol definitions 2018-02-21 15:40:42 +00:00
optee_private.h BACKPORT: tee: add start argument to shm_register callback 2018-02-21 15:40:43 +00:00
optee_smc.h BACKPORT: tee: optee: Update protocol definitions 2018-02-21 15:40:42 +00:00
rpc.c BACKPORT: tee: optee: add registered buffers handling into RPC calls 2018-02-21 15:40:43 +00:00
shm_pool.c BACKPORT: tee: optee: add optee-specific shared pool implementation 2018-02-21 15:40:43 +00:00
shm_pool.h BACKPORT: tee: optee: add optee-specific shared pool implementation 2018-02-21 15:40:43 +00:00
supp.c BACKPORT: optee: support asynchronous supplicant requests 2018-02-21 15:40:42 +00:00