arm-trusted-firmware/lib/cpus
Harrison Mutai d16a90d422 refactor(cpus): convert Cortex-A710 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 and checking
sequences remain unchanged and preserve their git blame. Testing was
conducted by:

 * Building for release with all errata flags enabled and running script
   in change 19136 to compare output of objdump for each errata.
 * Manual comparison of disassembly of converted functions with non-
   converted functions
 * Build for debug with all errata enabled and step through ArmDS
   at reset to ensure all functions are entered.

Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
Change-Id: I417539ab292f13a4f0949625d2fef6b7792fbd35
2023-08-07 19:36:56 +01:00
..
aarch32 Merge changes from topic "sm/errata_refactor" into integration 2023-08-05 00:50:32 +02:00
aarch64 refactor(cpus): convert Cortex-A710 to use the errata framework 2023-08-07 19:36:56 +01: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