Apply stricter speculative load restriction
The SCTLR.DSSBS bit is zero by default thus disabling speculative loads.
However, we also explicitly set it to zero for BL2 and TSP images when
each image initialises its context. This is done to ensure that the
image environment is initialised in a safe state, regardless of the
reset value of the bit.

Change-Id: If25a8396641edb640f7f298b8d3309d5cba3cd79
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
1 parent c48d02b commit 02b57943965c89887170604e8eb801e17fd8cb99
@John Tsichritzis John Tsichritzis authored on 4 Mar 2019
Showing 5 changed files
View
bl2/aarch32/bl2_entrypoint.S
View
bl2/aarch64/bl2_entrypoint.S
View
bl2u/aarch32/bl2u_entrypoint.S
View
bl2u/aarch64/bl2u_entrypoint.S
View
bl32/tsp/aarch64/tsp_entrypoint.S