arm-trusted-firmware/lib/cpus
Boyan Karatotev 4ac54693bf refactor(cpus): convert the Cortex-A57 to use the errata framework
This involves replacing:
 * the reset_func with the standard cpu_reset_func_{start,end} to apply
   errata automatically
 * the <cpu>_errata_report with the errata_report_shim to report errata
   automatically
...and for each erratum:
 * the prologue with the workaround_<type>_start to do the checks and
   framework registration automatically
 * the epilogue with the workaround_<type>_end
 * the checker function with the check_erratum_<type> to make it more
   descriptive

It is important to note that the errata workaround sequences remain
unchanged and preserve their git blame.

At this point the binary output of all errata was checked with the
script from commit 19136. All reported discrepancies involve errata
with no workaround in the cpu file or errata that did not previously
have a workaround function and now do. The non temporal hint erratum has
been converted to a numeric erratum.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ib321ab01362c5954fe78e7349229c1437b3da847
2023-08-24 14:27:42 -05:00
..
aarch32 refactor(cpus): add Cortex-A57 errata framework information 2023-08-24 14:27:42 -05:00
aarch64 refactor(cpus): convert the Cortex-A57 to use the errata framework 2023-08-24 14:27:42 -05:00
cpu-ops.mk fix(cpus): workaround for Neoverse N2 erratum 2779511 2023-08-03 22:42:31 +02:00
errata_report.c fix(cpus): reduce generic_errata_report()'s size 2023-06-15 10:14:59 +01:00