1
0
Fork 0
alistair23-linux/drivers/tee/optee
Rui Miguel Silva 853735e404 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: 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>
2020-11-25 12:51:52 +01:00
..
Kconfig tee: optee: Fix compilation issue with nommu 2020-01-23 10:55:20 +01:00
Makefile
call.c optee: add writeback to valid memory type 2020-11-25 12:51:52 +01:00
core.c driver: tee: Handle NULL pointer indication from client 2020-08-21 08:55:13 +02:00
device.c optee: enable support for multi-stage bus enumeration 2020-07-10 09:41:53 +02:00
optee_msg.h drivers: optee: allow op-tee to access devices on the i2c bus 2020-08-21 11:41:45 +02:00
optee_private.h drivers: optee: allow op-tee to access devices on the i2c bus 2020-08-21 11:41:45 +02:00
optee_smc.h driver: tee: Handle NULL pointer indication from client 2020-08-21 08:55:13 +02:00
rpc.c drivers: optee: fix i2c build issue 2020-09-01 12:03:16 +02:00
shm_pool.c optee: Fix multi page dynamic shm pool alloc 2020-01-03 11:21:12 +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