commit | 4db3c009ee43bd5489bd522f570f1e2a274c4dde | [log] [tgz] |
---|---|---|
author | Govindraj Raja <govindraj.raja@arm.com> | Thu Apr 10 17:23:19 2025 -0500 |
committer | Bipin Ravi <bipin.ravi@arm.com> | Wed Apr 16 22:40:49 2025 +0200 |
tree | 11a6b37f9c551e79762e7adfc6d730eac38bfce8 | |
parent | 690348eb90d02fdc7681d2c06b937cc6dfad7a28 [diff] |
feat: add static checkers for cpu workaround order Workarounds added to CPU files are expected to be in order based on Erratum ID and also if the CVE's are added they should be ordered by CVE Year and CVE ID. There is no strict enforcement currently in place to check this there is a runtime check for that in TF-A, but booting up every FVP model for this would be too cumbersome. Ref: https://git.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/refs/heads/integration/lib/cpus/errata_report.c#102 So add a static checker to check in-order placements of erratum and CVE's in CPU files. Change-Id: Ia86de7a982e974d64564d09c950b4b680b4e0f7f Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>