]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(security): update Cortex-A15 CPU lib files for CVE-2022-23960
authorJohn Powell <john.powell@arm.com>
Fri, 15 Apr 2022 00:10:17 +0000 (19:10 -0500)
committerJohn Powell <john.powell@arm.com>
Thu, 28 Apr 2022 18:33:09 +0000 (20:33 +0200)
commit187a61761ef5d59bed0c94cca725bd6f116f64d0
treeaea9a81f0f996986e143ecb76fb4ff17cb415472
parent942b0392218a93141ed90afafd005c6f28d7014f
fix(security): update Cortex-A15 CPU lib files for CVE-2022-23960

Cortex-A15 does not support FEAT_CSV2 so the existing workaround for
Spectre V2 is sufficient to mitigate against Spectre BHB attacks,
however the code needed to be updated to work with the new build flag.

Also, some code was refactored several years ago and not updated in
the Cortex-A15 library file so this patch fixes that as well.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: I768c88a38c561c91019b038ac6c22b291955f18e
bl32/sp_min/sp_min.mk
lib/cpus/aarch32/cortex_a15.S