• Ambroise Vincent's avatar
    Cortex-A76: Optimize CVE_2018_3639 workaround · d0d115e2
    Ambroise Vincent authored
    
    
    Switched from a static check to a runtime assert to make sure a
    workaround is implemented for CVE_2018_3639.
    
    This allows platforms that know they have the SSBS hardware workaround
    in the CPU to compile out code under DYNAMIC_WORKAROUND_CVE_2018_3639.
    
    The gain in memory size without the dynamic workaround is 4KB in bl31.
    
    Change-Id: I61bb7d87c59964b0c7faac5d6bc7fc5c4651cbf3
    Signed-off-by: default avatarAmbroise Vincent <ambroise.vincent@arm.com>
    d0d115e2
cortex_a76.S 11.6 KB