Explicitly disable the SPME bit in MDCR_EL3
authorPetre-Ionut Tudor <petre-ionut.tudor@arm.com>
Thu, 3 Oct 2019 16:09:08 +0000 (17:09 +0100)
committerPetre-Ionut Tudor <petre-ionut.tudor@arm.com>
Mon, 7 Oct 2019 10:50:07 +0000 (11:50 +0100)
commit2a7adf2567aa103ced4a9a9b3ef8344935716d25
tree5ce3f4cda4573251a7208f8c46f909bbd757d9b4
parentcf9319f46a1dd17c842297a8aeb68059f6f3a06f
Explicitly disable the SPME bit in MDCR_EL3

Currently the MDCR_EL3 initialisation implicitly disables
MDCR_EL3.SPME by using mov_imm.

This patch makes the SPME bit more visible by explicitly
disabling it and documenting its use in different versions
of the architecture.

Signed-off-by: Petre-Ionut Tudor <petre-ionut.tudor@arm.com>
Change-Id: I221fdf314f01622f46ac5aa43388f59fa17a29b3
include/arch/aarch64/el3_common_macros.S