diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2023-03-14 11:09:44 +0100 |
---|---|---|
committer | Manish V Badarkhe <manish.badarkhe@arm.com> | 2023-05-09 21:44:44 +0200 |
commit | 4a3e2cb355dfa3e243d2546b96c7e0d112030bc8 (patch) | |
tree | 863882ccc4d74413960051bbd7009aca683c8e50 | |
parent | 01ba69cd9b833047653186858a6929e6c9379989 (diff) | |
download | arm-trusted-firmware-4a3e2cb355dfa3e243d2546b96c7e0d112030bc8.tar.gz |
build(msm8916): disable unneeded workarounds
The Cortex-A53 cores used in the msm8916 platform are not affected by
CVE-2017-5715 and CVE-2022-23960, so disable the workarounds for them
to drop the unused code from the compiled binary.
Change-Id: I9df5a4657c4fd90702b4db4e82d4ee1a2f60303c
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
-rw-r--r-- | plat/qti/msm8916/platform.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plat/qti/msm8916/platform.mk b/plat/qti/msm8916/platform.mk index 2baf2032a..107296b0a 100644 --- a/plat/qti/msm8916/platform.mk +++ b/plat/qti/msm8916/platform.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2021, Stephan Gerhold <stephan@gerhold.net> +# Copyright (c) 2021-2023, Stephan Gerhold <stephan@gerhold.net> # # SPDX-License-Identifier: BSD-3-Clause # @@ -46,6 +46,10 @@ WARMBOOT_ENABLE_DCACHE_EARLY := 1 ENABLE_SPE_FOR_NS := 0 ENABLE_SVE_FOR_NS := 0 +# Disable workarounds unnecessary for Cortex-A53 +WORKAROUND_CVE_2017_5715 := 0 +WORKAROUND_CVE_2022_23960 := 0 + # MSM8916 uses ARM Cortex-A53 r0p0 so likely all the errata apply ERRATA_A53_819472 := 1 ERRATA_A53_824069 := 1 |