smcinvoke: implement retry and timeout for CB processing
CB requests are processed by HLOS userspace. It is possible that
userspace never returns with a response. This could cause trusted
environment that initiated CB request to reject processing anymore
non-secure requests. This is not a desirable situation. Hence, adding
timeout functionality along with retry mechanism to send error response
back to trusted env after maximum number of retries are already done and
continue processing requests from non-secure side.
Change-Id: Idbd3048d0b9594c9927d55a24a8ca77e14214746
Signed-off-by:
Anmolpreet Kaur <anmolpre@codeaurora.org>
Loading
Please register or sign in to comment