1
0
Fork 0
alistair23-linux/drivers/tee/optee
Rui Miguel Silva 5c4c6b2be7 optee: add writeback to valid memory type
[ Upstream commit 853735e404 ]

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: cdbcf83d29 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-02 08:49:53 +01:00
..
Kconfig tee: optee: Fix compilation issue with nommu 2020-02-05 21:22:49 +00:00
Makefile tee: optee: add TEE bus device enumeration support 2019-02-01 15:12:46 +01:00
call.c optee: add writeback to valid memory type 2020-12-02 08:49:53 +01:00
core.c tee: optee: fix device enumeration error handling 2020-01-26 10:01:07 +01:00
device.c tee: optee: Fix unsigned comparison with less than zero 2019-02-20 17:57:47 +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 optee: Fix multi page dynamic shm pool alloc 2020-01-26 10:01:09 +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