OSDN Git Service

tee: add supp_nowait flag in tee_context struct
authorSumit Garg <sumit.garg@linaro.org>
Tue, 29 Jan 2019 05:49:36 +0000 (11:19 +0530)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 1 Feb 2019 14:12:46 +0000 (15:12 +0100)
commit42bf4152d8a79f89f5456dee63a1f364fbce2dd6
tree4f89fc2690e28b92610cfc5f7a9a31beb481c2e6
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
tee: add supp_nowait flag in tee_context struct

This flag indicates that requests in this context should not wait for
tee-supplicant daemon to be started if not present and just return
with an error code. It is needed for requests which should be
non-blocking in nature like ones arising from TEE based kernel drivers
or any in kernel api that uses TEE internal client interface.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/supp.c
drivers/tee/tee_core.c
include/linux/tee_drv.h