]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3_runtime): restore SPSR/ELR/SCR after esb
authorManish Pandey <manish.pandey2@arm.com>
Thu, 17 Nov 2022 14:43:15 +0000 (14:43 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Thu, 1 Dec 2022 09:26:42 +0000 (10:26 +0100)
commitff1d2ef387f085fdada4a122284b3b044fdde09c
tree5b81bc5538b451c53556b303520de28c91a3bac8
parentcaaca4a104806c7a0ce52ca1f33c9f9c922dd012
fix(el3_runtime): restore SPSR/ELR/SCR after esb

SCR_EL3 register is restored before esb issued and it is assumed
that EAs are unmasked at that point, which is wrong, as the SCR_EL3
value at that time is restored from the context of the world where
it is returning to.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Id1c7150a70b5f589b0dc7c50c359b4d23ee9f256
lib/el3_runtime/aarch64/context.S