summaryrefslogtreecommitdiff
path: root/arch/arm/kvm/psci.c
diff options
context:
space:
mode:
authorDinesh K Garg <dineshg@codeaurora.org>2017-05-09 15:16:04 -0700
committerDinesh K Garg <dineshg@codeaurora.org>2017-05-09 15:27:39 -0700
commitd1c8aa7f66572b9884b3f101d12d1ac569883fcd (patch)
tree0d60c5d047ce6a7bb6028689f5e77f1cfb54eb2c /arch/arm/kvm/psci.c
parent3d82d66409abb91539bcb9d1f343fcb9d583f2b4 (diff)
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: Dinesh K Garg <dineshg@codeaurora.org>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions