Use PFR0 to identify need for mitigation of CVE-2017-5715
If the CSV2 field reads as 1 then branch targets trained in one
context cannot affect speculative execution in a different context.
In that case skip the workaround on Cortex A72 and A73.

Change-Id: Ide24fb6efc77c548e4296295adc38dca87d042ee
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
1 parent 16b05e9 commit 3991a6a49f3cf8d0b30a2800428e60454e2f92dd
@Dimitris Papastamos Dimitris Papastamos authored on 12 Mar 2018
Showing 4 changed files
View
include/lib/cpus/aarch64/cpu_macros.S
View
lib/cpus/aarch64/cortex_a72.S
View
lib/cpus/aarch64/cortex_a73.S
View
lib/cpus/aarch64/cortex_a75.S