Enable SCR_EL3.SIF bit
This patch enables the SCR_EL3.SIF (Secure Instruction Fetch) bit in BL1 and
BL31 common architectural setup code. When in secure state, this disables
instruction fetches from Non-secure memory.

NOTE: THIS COULD BREAK PLATFORMS THAT HAVE SECURE WORLD CODE EXECUTING FROM
NON-SECURE MEMORY, BUT THIS IS CONSIDERED UNLIKELY AND IS A SERIOUS SECURITY
RISK.

Fixes ARM-Software/tf-issues#372

Change-Id: I684e84b8d523c3b246e9a5fabfa085b6405df319
1 parent 61dbb02 commit 99e58f9e6943caeee72b3106c2c8a1cc3cdc7bf5
@Soby Mathew Soby Mathew authored on 4 Apr 2016
Showing 2 changed files
View
docs/firmware-design.md
View
include/common/el3_common_macros.S