commit | 9ee6dd4c87f98852e36b6a29ed2539bb6effc842 | [log] [tgz] |
---|---|---|
author | Bipin Ravi <bipin.ravi@arm.com> | Thu Oct 13 17:25:51 2022 -0500 |
committer | Bipin Ravi <bipin.ravi@arm.com> | Wed Oct 26 16:45:12 2022 -0500 |
tree | 9f5d648afe455669bf450f50ea337d8cb27cb272 | |
parent | 82801654d713bffa95f3653f26036062e6225985 [diff] |
fix(security): optimisations for CVE-2022-23960 Optimised the loop workaround for Spectre_BHB mitigation: 1. use of speculation barrier for cores implementing SB instruction. 2. use str/ldr instead of stp/ldp as the loop uses only X2 register. Signed-off-by: Bipin Ravi <bipin.ravi@arm.com> Change-Id: I8ac53ea1e42407ad8004c1d59c05f791011f195d