]> www.infradead.org Git - users/jedix/linux-maple.git/commit
optee: add timeout value to optee_notif_wait() to support timeout
authorGavin Liu <gavin.liu@mediatek.com>
Tue, 7 May 2024 02:00:37 +0000 (10:00 +0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 30 May 2024 08:19:28 +0000 (10:19 +0200)
commit14ca6401d8703725c7297dcc4bf8de73323411ac
treec2baa9a63392a86b54c427cf9ee23ae1753c9b2e
parenta38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
optee: add timeout value to optee_notif_wait() to support timeout

Add timeout value to support self waking when timeout to avoid waiting
indefinitely.

Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/notif.c
drivers/tee/optee/optee_private.h
drivers/tee/optee/optee_rpc_cmd.h
drivers/tee/optee/rpc.c