diff options
author | Bipin Ravi <bipin.ravi@arm.com> | 2022-12-07 13:54:02 -0600 |
---|---|---|
committer | Bipin Ravi <bipin.ravi@arm.com> | 2022-12-07 13:54:02 -0600 |
commit | 1cfde82227558a8cc1792c068bc7a7cdf8feab43 (patch) | |
tree | 31399637b8dc201492d24ee95e680c9f05364e8a /lib/cpus/cpu-ops.mk | |
parent | b87b02cf1d93f2be2113192cd5f1927e33121a80 (diff) |
fix(cpus): workaround for Cortex-X2 erratum 2768515
Cortex-X2 erratum 2768515 is a Cat B erratum that applies to
all revisions <=r2p1 and is still open. The workaround is to
insert a dsb before the isb in the power down sequence.
SDEN documentation:
https://developer.arm.com/documentation/SDEN1775100/latest
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
Change-Id: Ib02688f7b6dc7f6ec305e68e8895174f6fd577a0
Diffstat (limited to 'lib/cpus/cpu-ops.mk')
-rw-r--r-- | lib/cpus/cpu-ops.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/cpus/cpu-ops.mk b/lib/cpus/cpu-ops.mk index 3db86dd22..527a82f28 100644 --- a/lib/cpus/cpu-ops.mk +++ b/lib/cpus/cpu-ops.mk @@ -660,6 +660,11 @@ ERRATA_X2_2147715 ?=0 # to revision r0p0, r1p0 and r2p0 of the Cortex-X2 cpu and is fixed in r2p1. ERRATA_X2_2371105 ?=0 +# Flag to apply erratum 2768515 workaround during power down. This erratum +# applies to revision r0p0, r1p0, r2p0 and r2p1 of the Cortex-X2 cpu and is +# still open. +ERRATA_X2_2768515 ?=0 + # Flag to apply erratum 2313909 workaround on powerdown. This erratum applies # to revisions r0p0 and r1p0 of the Cortex-X3 cpu, it is fixed in r1p1. ERRATA_X3_2313909 ?=0 @@ -1297,6 +1302,10 @@ $(eval $(call add_define,ERRATA_X2_2147715)) $(eval $(call assert_boolean,ERRATA_X2_2371105)) $(eval $(call add_define,ERRATA_X2_2371105)) +# Process ERRATA_X2_2768515 flag +$(eval $(call assert_boolean,ERRATA_X2_2768515)) +$(eval $(call add_define,ERRATA_X2_2768515)) + # Process ERRATA_X3_2313909 flag $(eval $(call assert_boolean,ERRATA_X3_2313909)) $(eval $(call add_define,ERRATA_X3_2313909)) |