commit | 8ae6b1ad6c9c57b09b6d4e7ae3cbdf3aed6455b1 | [log] [tgz] |
---|---|---|
author | Arvind Ram Prakash <arvind.ramprakash@arm.com> | Tue Jan 28 17:21:17 2025 -0600 |
committer | Arvind Ram Prakash <arvind.ramprakash@arm.com> | Thu Jan 30 16:45:35 2025 -0600 |
tree | c7cccbab29331188b2aaa6e1919133ca4aa711f8 | |
parent | 4caef42a94b4efe97b09764a7257f701ab7ff3b8 [diff] |
fix(security): apply SMCCC_ARCH_WORKAROUND_4 to affected cpus This patch implements SMCCC_ARCH_WORKAROUND_4 and allows discovery through SMCCC_ARCH_FEATURES. This mechanism is enabled if CVE_2024_7881 [1] is enabled by the platform. If CVE_2024_7881 mitigation is implemented, the discovery call returns 0, if not -1 (SMC_ARCH_CALL_NOT_SUPPORTED). For more information about SMCCC_ARCH_WORKAROUND_4 [2], please refer to the SMCCC Specification reference provided below. [1]: https://developer.arm.com/Arm%20Security%20Center/Arm%20CPU%20Vulnerability%20CVE-2024-7881 [2]: https://developer.arm.com/documentation/den0028/latest Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: I1b1ffaa1f806f07472fd79d5525f81764d99bc79