Workaround for CVE-2017-5715 for Cortex A9, A15 and A17
A per-cpu vbar is installed that implements the workaround by
invalidating the branch target buffer (BTB) directly in the case of A9
and A17 and indirectly by invalidating the icache in the case of A15.

For Cortex A57 and A72 there is currently no workaround implemented
when EL3 is in AArch32 mode so report it as missing.

For other vulnerable CPUs (e.g. Cortex A73 and Cortex A75), there are
no changes since there is currently no upstream AArch32 EL3 support
for these CPUs.

Change-Id: Ib42c6ef0b3c9ff2878a9e53839de497ff736258f
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
1 parent 7343505 commit e4b34efa18f1cac10aa8541bc0a1dbab49886009
@Dimitris Papastamos Dimitris Papastamos authored on 3 Jan 2018
Showing 6 changed files
View
include/lib/cpus/aarch32/cortex_a15.h
View
lib/cpus/aarch32/cortex_a15.S
View
lib/cpus/aarch32/cortex_a17.S
View
lib/cpus/aarch32/cortex_a57.S
View
lib/cpus/aarch32/cortex_a72.S
View
lib/cpus/aarch32/cortex_a9.S