Fixup `SMCCC_ARCH_FEATURES` semantics
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: Dimitris Papastamos <dimitris.papastamos@arm.com>
1 parent 3991a6a commit a205a56ea891c354c642713701075fec28906c40
@Dimitris Papastamos Dimitris Papastamos authored on 12 Mar 2018
Showing 9 changed files
View
bl31/bl31.mk
View
include/lib/cpus/aarch64/cpu_macros.S
View
include/lib/cpus/workaround_cve_2017_5715.h 0 → 100644
View
lib/cpus/aarch64/cortex_a57.S
View
lib/cpus/aarch64/cortex_a72.S
View
lib/cpus/aarch64/cortex_a73.S
View
lib/cpus/aarch64/cortex_a75.S
View
lib/cpus/aarch64/cpu_helpers.S
View
services/arm_arch_svc/arm_arch_svc_setup.c