Add workaround for ARM Cortex-A53 erratum 855873
ARM erratum 855873 applies to all Cortex-A53 CPUs.
The recommended workaround is to promote "data cache clean"
instructions to "data cache clean and invalidate" instructions.
For core revisions of r0p3 and later this can be done by setting a bit
in the CPUACTLR_EL1 register, so that hardware takes care of the promotion.
As CPUACTLR_EL1 is both IMPLEMENTATION DEFINED and can be trapped to EL3,
we set the bit in firmware.
Also we dump this register upon crashing to provide more debug
information.

Enable the workaround for the Juno boards.

Change-Id: I3840114291958a406574ab6c49b01a9d9847fec8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 3944adc commit b75dc0e41cbf394fbafb271ea6853011e926a197
@Andre Przywara Andre Przywara authored on 6 Oct 2016
Showing 6 changed files
View
docs/cpu-specific-build-macros.md
View
include/lib/cpus/aarch64/cortex_a53.h
View
lib/cpus/aarch64/cortex_a53.S
View
lib/cpus/aarch64/cpu_helpers.S
View
lib/cpus/cpu-ops.mk
View
plat/arm/board/juno/platform.mk