Commits
Silvano di Ninno committed e0238fcd9f3
MLK-21698: tee:optee: fix shared memory page attribute checks When allocating pages for share memory with OP-TEE, the driver checks the page attribute (pte). The current checks only allow writealloc pages. i.MX 6SLL sets the page attribute to writeback. Relax this check to allow writealloc, writeback and writethrough. Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Franck Lenormand <franck.lenormand@nxp.com> Reviewed-by: Horia Geanta <horia.geanta@nxp.com> Acked-by: Leonard Crestez <leonard.crestez@nxp.com> (cherry picked from commit a4c5efa2df07a54ce112206c3ffc8fccf3369c52) (cherry picked from commit 51f031613d55e864f22cb244059e70432d7acd81)