Use PFR0 to identify need for mitigation of CVE-2017-5915
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 A75.

Change-Id: I4d5504cba516a67311fb5f0657b08f72909cbd38
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
1 parent a1781a2 commit 780edd86a0b413c3620c5c42fd123a78b5b1587a
@Dimitris Papastamos Dimitris Papastamos authored on 2 Jan 2018
Showing 2 changed files
View
include/lib/aarch64/arch.h
View
lib/cpus/aarch64/cortex_a75.S