Commit 317d68e9 authored by Alexei Fedorov's avatar Alexei Fedorov
Browse files

Restore PAuth context in case of unknown SMC call


Change-Id: I8fb346743b7afddbb8bf5908db4f27ee5a26f99b
Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
Showing with 3 additions and 0 deletions
+3 -0
......@@ -419,6 +419,9 @@ smc_unknown:
*/
mov x0, #SMC_UNK
str x0, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0]
#if CTX_INCLUDE_PAUTH_REGS
bl pauth_context_save
#endif
b restore_gp_registers_eret
smc_prohibited:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment