]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(errata): workaround for Cortex-A510 erratum 2371937
authorAkram Ahmad <Akram.Ahmad@arm.com>
Fri, 22 Jul 2022 15:20:44 +0000 (16:20 +0100)
committerAkram Ahmad <Akram.Ahmad@arm.com>
Wed, 24 Aug 2022 14:35:25 +0000 (16:35 +0200)
commita67c1b1b2b521c888790c68e4201ecce0836a0e9
treefde8d731789749126cede2b0bad8924f7b1c7dfb
parent19037a71008c7478969cd7256ab0721462adaa02
fix(errata): workaround for Cortex-A510 erratum 2371937

Cortex-A510 erratum 2371937 is a Cat B erratum that applies
to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is
fixed in r1p2. The workaround is to set the ATOM field of
CPUECTLR_EL1 (bits [40:38]) to 0b010, which will force all
cacheable atomic operations to be executed near.

SDEN can be found here:
https://developer.arm.com/documentation/SDEN1873351/latest
https://developer.arm.com/documentation/SDEN1873361/latest

Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com>
Change-Id: Ia219a609a3397e39631de65831ecff8a3cd1227e
docs/design/cpu-specific-build-macros.rst
include/lib/cpus/aarch64/cortex_a510.h
lib/cpus/aarch64/cortex_a510.S
lib/cpus/cpu-ops.mk