• Dimitris Papastamos's avatar
    Fixup `SMCCC_ARCH_FEATURES` semantics · a205a56e
    Dimitris Papastamos authored
    
    
    When querying `SMCCC_ARCH_WORKAROUND_1` through `SMCCC_ARCH_FEATURES`,
    return either:
      * -1 to indicate the PE on which `SMCCC_ARCH_FEATURES` is called
        requires firmware mitigation for CVE-2017-5715 but the mitigation
        is not compiled in.
      * 0 to indicate that firmware mitigation is required, or
      * 1 to indicate that no firmware mitigation is required.
    
    This patch complies with v1.2 of the firmware interfaces
    specification (ARM DEN 0070A).
    
    Change-Id: Ibc32d6620efdac6c340758ec502d95554a55f02a
    Signed-off-by: default avatarDimitris Papastamos <dimitris.papastamos@arm.com>
    a205a56e
cpu_macros.S 6.61 KB