tee: optee: check type of registered shared memory
authorJens Wiklander <jens.wiklander@linaro.org>
Thu, 28 Dec 2017 10:14:05 +0000 (11:14 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 28 Dec 2017 12:21:27 +0000 (13:21 +0100)
commitcdbcf83d29c1bf2aaa65260e74beaac1bcdc231c
tree6f922d6fe5a4f6c3aa18a4be08170f4d7c4a1ac4
parent95ffe4ca43877eea176d7e95aa0d38bbdc3d2903
tee: optee: check type of registered shared memory

Checks the memory type of the pages to be registered as shared memory.
Only normal cached memory is allowed.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/call.c