]> git.baikalelectronics.ru Git - arm-tf.git/commit
Optimize SMCCC_ARCH_WORKAROUND_1 on Cortex A57/A72/A73 and A75
authorDimitris Papastamos <dimitris.papastamos@arm.com>
Mon, 8 Jan 2018 13:57:39 +0000 (13:57 +0000)
committerDimitris Papastamos <dimitris.papastamos@arm.com>
Mon, 29 Jan 2018 09:58:57 +0000 (09:58 +0000)
commit1d6d47a82a9aafc17d084738f79dc0c8d40dff45
treebf54cdd51c234867c158e65bfb5ca6b1422590df
parentd9bd656cf5a4d0c21597a956c3711d08626ecfd0
Optimize SMCCC_ARCH_WORKAROUND_1 on Cortex A57/A72/A73 and A75

This patch implements a fast path for this SMC call on affected PEs by
detecting and returning immediately after executing the workaround.

NOTE: The MMU disable/enable workaround now assumes that the MMU was
enabled on entry to EL3.  This is a valid assumption as the code turns
on the MMU after reset and leaves it on until the core powers off.

Change-Id: I13c336d06a52297620a9760fb2461b4d606a30b3
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
lib/cpus/aarch64/workaround_cve_2017_5715_bpiall.S
lib/cpus/aarch64/workaround_cve_2017_5715_mmu.S