• Jeenu Viswambharan's avatar
    SDEI: Determine client EL from NS context's SCR_EL3 · 2ccfcb2e
    Jeenu Viswambharan authored
    
    
    Currently, the dispatcher reads from SCR_EL3 register directly to
    determine the EL of SDEI client. This is with the assumption that
    SCR_EL3 is not modified throughout. However, with RAS work flows, it's
    possible that SCR_EL3 register contains values corresponding to Secure
    world, and therefore EL determination can go wrong. To mitigate this,
    always read the register from the saved Non-secure context.
    
    Change-Id: Ic85e4021deb18eb58757f676f9a001174998543a
    Signed-off-by: default avatarJeenu Viswambharan <jeenu.viswambharan@arm.com>
    2ccfcb2e
sdei_private.h 6.21 KB