commit | 3287c4f38ad879ce337342d37360a08378035c26 | [log] [tgz] |
---|---|---|
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | Mon Mar 18 15:59:34 2019 +0000 |
committer | Alexei Fedorov <Alexei.Fedorov@arm.com> | Mon Mar 18 16:02:16 2019 +0000 |
tree | 3a172f7176a8f5400b2e1b8b474903beffcb0402 | |
parent | 796ca75c91bd1f47adde638eb34ce35c8e7284f5 [diff] |
Restore PAuth context in case of unknown SMC call Change-Id: I8fb346743b7afddbb8bf5908db4f27ee5a26f99b Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
diff --git a/bl31/aarch64/runtime_exceptions.S b/bl31/aarch64/runtime_exceptions.S index aa9d007..c295176 100644 --- a/bl31/aarch64/runtime_exceptions.S +++ b/bl31/aarch64/runtime_exceptions.S
@@ -419,6 +419,9 @@ */ 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: