Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c6961613 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

qcom: scm: Implement a retry mechanism



There are times when the secure world may be processing
requests that require one particular client on the HLOS
to invoke an scm_call. While waiting for this particular
scm_call, no other scm requests can be processed and the
secure world will return an error code indicating this
situation.

When this error code is encountered, release the scm_call
mutex, wait for a specified amount of time and retry the
scm_call. As much as possible, avoid overhead in the first
scm_call attempt.

Change-Id: I6edce93bb70620fdffcb3ef3fb639cf5b928845b
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 8c0c40d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment