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

Skip to content
Commit d1c8aa7f authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

msm: mink: Avoid handling output params if TZ op returns an err



Invoke operation is processed at couple of places in trusted env;
in TZ kernel and/or in TZ apps. If TZ kernel returns an error,
SMCInvoke driver does not process output params and returns
appropriate err to userspace. However, if error is returned from
trusted apps, SMCInvoke still processes output params and returns error
to userspace. Now, SMCInvoke driver will not process output params if
trusted app returns an error. Userspace is also expected to follow the
same rule.

Change-Id: Ic58e37ba714d4b384e3fa9206419c69ddd852b4a
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent 3d82d664
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