Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1Only return -1 if the workaround for CVE-2017-5715 is not compiled in.Change-Id: I1bd07c57d22b4a13cf51b35be141a1f1ffb065ffSigned-off-
Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1Only return -1 if the workaround for CVE-2017-5715 is not compiled in.Change-Id: I1bd07c57d22b4a13cf51b35be141a1f1ffb065ffSigned-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
show more ...
Rename 'smcc' to 'smccc'When the source code says 'SMCC' it is talking about the SMC CallingConvention. The correct acronym is SMCCC. This affects a few definitionsand file names.Some files hav
Rename 'smcc' to 'smccc'When the source code says 'SMCC' it is talking about the SMC CallingConvention. The correct acronym is SMCCC. This affects a few definitionsand file names.Some files have been renamed (smcc.h, smcc_helpers.h and smcc_macros.S)but the old files have been kept for compatibility, they include thenew ones with an ERROR_DEPRECATED guard.Change-Id: I78f94052a502436fdd97ca32c0fe86bd58173f2fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Fixup `SMCCC_ARCH_FEATURES` semanticsWhen querying `SMCCC_ARCH_WORKAROUND_1` through `SMCCC_ARCH_FEATURES`,return either: * -1 to indicate the PE on which `SMCCC_ARCH_FEATURES` is called req
Fixup `SMCCC_ARCH_FEATURES` semanticsWhen 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 interfacesspecification (ARM DEN 0070A).Change-Id: Ibc32d6620efdac6c340758ec502d95554a55f02aSigned-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Fix MISRA rule 8.4 in common codeRule 8.4: A compatible declaration shall be visible when an object or function with external linkage is defined.Change-Id: I26e042cb251a6f9590afa1340fda
Fix MISRA rule 8.4 in common codeRule 8.4: A compatible declaration shall be visible when an object or function with external linkage is defined.Change-Id: I26e042cb251a6f9590afa1340fdac73e42f23979Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Implement support for SMCCC v1.1SMCCC v1.1 comes with a relaxed calling convention for AArch64callers. The caller only needs to save x0-x3 before doing an SMCcall.This patch adds support for S
Implement support for SMCCC v1.1SMCCC v1.1 comes with a relaxed calling convention for AArch64callers. The caller only needs to save x0-x3 before doing an SMCcall.This patch adds support for SMCCC_VERSION and SMCCC_ARCH_FEATURES.Refer to "Firmware Interfaces for mitigating CVE_2017_5715 SystemSoftware on Arm Systems"[0] for more information.[0] https://developer.arm.com/-/media/developer/pdf/ARM%20DEN%200070A%20Firmware%20interfaces%20for%20mitigating%20CVE-2017-5715_V1.0.pdfChange-Id: If5b1c55c17d6c5c7cb9c2c3ed355d3a91cdad0a9Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
12