]> git.baikalelectronics.ru Git - arm-tf.git/commit
Use PFR0 to identify need for mitigation of CVE-2017-5915
authorDimitris Papastamos <dimitris.papastamos@arm.com>
Tue, 2 Jan 2018 15:53:01 +0000 (15:53 +0000)
committerDimitris Papastamos <dimitris.papastamos@arm.com>
Thu, 11 Jan 2018 10:26:15 +0000 (10:26 +0000)
commit780edd86a0b413c3620c5c42fd123a78b5b1587a
treedb65d33adc45ff13b8dc2a6eb5252a94d1405057
parenta1781a211a53df6a24345d774c0f2eaa5b675ca8
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>
include/lib/aarch64/arch.h
lib/cpus/aarch64/cortex_a75.S