optee: allocate shared memory with alloc_pages_exact()
authorJens Wiklander <jens.wiklander@linaro.org>
Tue, 14 Nov 2023 09:52:17 +0000 (10:52 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Mon, 4 Dec 2023 13:48:42 +0000 (14:48 +0100)
commit225a36b96359aceaa9a6399f2dff99627397e637
tree0e08d23d33555eda39fa0093bd04c1de00bcebdd
parent69724b3eac9894853e9b044b65e0add009fc88b5
optee: allocate shared memory with alloc_pages_exact()

Allocate memory to share with the secure world using alloc_pages_exact()
instead of alloc_pages() for more efficient memory usage.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/core.c