Re: [PATCH] optee: add writeback to valid memory type

2020-11-25 Thread Jens Wiklander
On Fri, Nov 13, 2020 at 4:06 PM Rui Miguel Silva wrote: > > 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. > > Ad

[PATCH] optee: add writeback to valid memory type

2020-11-13 Thread Rui Miguel Silva
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: cdbcf