diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-04-05 13:44:30 +0100 |
---|---|---|
committer | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-04-05 13:51:08 +0100 |
commit | 050136d4853f371479339b641b95249db1585a68 (patch) | |
tree | 09bd97cc83474ab1d7d81e9f3ec7457400ca58ee /bl31 | |
parent | 8a08e27232d0c1b906fd2f3e4b3b7a90661a50b9 (diff) |
Fix restoration of PAuth context
Replace call to pauth_context_save() with pauth_context_restore()
in case of unknown SMC call.
Change-Id: Ib863d979faa7831052b33e8ac73913e2f661f9a0
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'bl31')
-rw-r--r-- | bl31/aarch64/runtime_exceptions.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bl31/aarch64/runtime_exceptions.S b/bl31/aarch64/runtime_exceptions.S index c2951768..1734d7ec 100644 --- a/bl31/aarch64/runtime_exceptions.S +++ b/bl31/aarch64/runtime_exceptions.S @@ -420,7 +420,7 @@ smc_unknown: mov x0, #SMC_UNK str x0, [sp, #CTX_GPREGS_OFFSET + CTX_GPREG_X0] #if CTX_INCLUDE_PAUTH_REGS - bl pauth_context_save + bl pauth_context_restore #endif b restore_gp_registers_eret |