• Jeenu Viswambharan's avatar
    AArch64: Enable lower ELs to use pointer authentication · 3ff4aaac
    Jeenu Viswambharan authored
    
    
    Pointer authentication is an Armv8.3 feature that introduces
    instructions that can be used to authenticate and verify pointers.
    
    Pointer authentication instructions are allowed to be accessed from all
    ELs but only when EL3 explicitly allows for it; otherwise, their usage
    will trap to EL3. Since EL3 doesn't have trap handling in place, this
    patch unconditionally disables all related traps to EL3 to avoid
    potential misconfiguration leading to an unhandled EL3 exception.
    
    Fixes ARM-software/tf-issues#629
    
    Change-Id: I9bd2efe0dc714196f503713b721ffbf05672c14d
    Signed-off-by: default avatarJeenu Viswambharan <jeenu.viswambharan@arm.com>
    3ff4aaac
el3_common_macros.S 12.3 KB