summaryrefslogtreecommitdiff
path: root/lib/cpus/aarch32/cortex_a57.S
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-01-25 00:06:50 +0000
committerGitHub <noreply@github.com>2018-01-25 00:06:50 +0000
commitd95eb476d564f888eed2759bca7666b04096fed4 (patch)
tree3d390fe14f92c59f31aa2f3fc47d660d201de066 /lib/cpus/aarch32/cortex_a57.S
parente5dbebf84edf23b5dcce7a85a51c099775d6fc71 (diff)
parente4b34efa18f1cac10aa8541bc0a1dbab49886009 (diff)
Merge pull request #1228 from dp-arm/dp/cve_2017_5715
Workarounds for CVE-2017-5715 on A9/A15 and A17 + serial console reporting
Diffstat (limited to 'lib/cpus/aarch32/cortex_a57.S')
-rw-r--r--lib/cpus/aarch32/cortex_a57.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/cpus/aarch32/cortex_a57.S b/lib/cpus/aarch32/cortex_a57.S
index 64a6d674..f446bfff 100644
--- a/lib/cpus/aarch32/cortex_a57.S
+++ b/lib/cpus/aarch32/cortex_a57.S
@@ -332,6 +332,11 @@ func check_errata_859972
b cpu_rev_var_ls
endfunc check_errata_859972
+func check_errata_cve_2017_5715
+ mov r0, #ERRATA_MISSING
+ bx lr
+endfunc check_errata_cve_2017_5715
+
/* -------------------------------------------------
* The CPU Ops reset function for Cortex-A57.
* Shall clobber: r0-r6
@@ -519,6 +524,7 @@ func cortex_a57_errata_report
report_errata ERRATA_A57_829520, cortex_a57, 829520
report_errata ERRATA_A57_833471, cortex_a57, 833471
report_errata ERRATA_A57_859972, cortex_a57, 859972
+ report_errata WORKAROUND_CVE_2017_5715, cortex_a57, cve_2017_5715
pop {r12, lr}
bx lr