]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(spe): drop SPE EL2 context switch code
authorAndre Przywara <andre.przywara@arm.com>
Fri, 3 Feb 2023 15:23:59 +0000 (15:23 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 20 Mar 2023 13:37:36 +0000 (13:37 +0000)
commit16e3ddba1f049106387dfe21989243d2fc4cf061
treecccc9940ea66f1efb74565a76ed8d3ffe3e7ed61
parentc41b8e90f75a7db82ee4384e3ffa5d8b9b8080e5
fix(spe): drop SPE EL2 context switch code

At the moment we hardcode the SPE functionality to be available on the
non-secure side only, by setting MDCR_EL3.NSPB accordingly.
This also means that the secure world cannot use SPE, so there is no
need to context switch the PMSCR_EL2 register.

Drop the SPE bits from the EL2 context switch code. If any of the other
EL2 worlds wish to start using SPE, this can be brought back.

Change-Id: Ie0fedb2aeb722a2c9db316051fbbe57ca0e3c0c9
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context.S
lib/el3_runtime/aarch64/context_mgmt.c