Cortex-A73: Implement workaround for errata 852427
authorLouis Mayencourt <louis.mayencourt@arm.com>
Wed, 27 Feb 2019 14:24:16 +0000 (14:24 +0000)
committerLouis Mayencourt <louis.mayencourt@arm.com>
Thu, 28 Feb 2019 12:01:13 +0000 (12:01 +0000)
commit25278eaba7b93701e046a8215f84843674d4ca02
treed123d6a84587f8692e5e847e4ac2328ce891b908
parent64503b2f81bbd12051d8e0fd065a5a0b0c38bd2a
Cortex-A73: Implement workaround for errata 852427

In AArch32, execution of 2 instructions with opposite condition code
might lead to either a data corruption or a CPU deadlock. Set the bit
12 of the Diagnostic Register to prevent this.

Change-Id: I22b4f25fe933e2942fd785e411e7c0aa39d5c1f4
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
docs/cpu-specific-build-macros.rst
include/lib/cpus/aarch64/cortex_a73.h
lib/cpus/aarch64/cortex_a73.S
lib/cpus/cpu-ops.mk