Commit 3ca26bed authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

Fix restoring APIBKey registers



Instruction key A was incorrectly restored in the instruction key B
registers.

Change-Id: I4cb81ac72180442c077898509cb696c9d992eda3
Signed-off-by: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
parent 620d9832
...@@ -356,7 +356,7 @@ func pauth_context_restore ...@@ -356,7 +356,7 @@ func pauth_context_restore
msr APIAKeyLo_EL1, x9 msr APIAKeyLo_EL1, x9
msr APIAKeyHi_EL1, x10 msr APIAKeyHi_EL1, x10
ldp x9, x10, [x11, #CTX_PACIAKEY_LO] ldp x9, x10, [x11, #CTX_PACIBKEY_LO]
msr APIBKeyLo_EL1, x9 msr APIBKeyLo_EL1, x9
msr APIBKeyHi_EL1, x10 msr APIBKeyHi_EL1, x10
......
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