Skip to content
Commit ab9cb420 authored by Taniya Das's avatar Taniya Das Committed by Kyle Yan
Browse files

qcom: scm: Support register r6 to pass the session id



Non-atomic scm call which could be interrupted, trustzone will store
the session id in a register(r6) which will be used when trustzone resumes
the call.
To avoid r6 being used by compiler, HLOS now uses it to send a zero before
making scm call.

Change-Id: I2927efe04fd019d551aae5e6548da3fb5c18b655
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 123357f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment