• Soby Mathew's avatar
    Enable SCR_EL3.SIF bit · 99e58f9e
    Soby Mathew authored
    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
    99e58f9e
el3_common_macros.S 10.5 KB