arm-trusted-firmware/include/lib/cpus/aarch64
Arvind Ram Prakash bbff267b6f fix(errata-abi): add support for handling split workarounds
Certain erratum workarounds like Neoverse N1 1542419, need a part
of their mitigation done in EL3 and the rest in lower EL. But currently
such workarounds return HIGHER_EL_MITIGATION which indicates that the
erratum has already been mitigated by a higher EL(EL3 in this case)
which causes the lower EL to not apply it's part of the mitigation.

This patch fixes this issue by adding support for split workarounds
so that on certain errata we return AFFECTED even though EL3 has
applied it's workaround. This is done by reusing the chosen field of
erratum_entry structure into a bitfield that has two bitfields -
Bit 0 indicates that the erratum has been enabled in build,
Bit 1 indicates that the erratum is a split workaround and should
return AFFECTED instead of HIGHER_EL_MITIGATION.

SDEN documentation:
https://developer.arm.com/documentation/SDEN885747/latest

Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
Change-Id: Iec94d665b5f55609507a219a7d1771eb75e7f4a7
2025-03-07 17:02:25 +01:00
..
a64fx.h feat(cpus): add a64fx cpu to tf-a 2022-07-07 07:17:25 +09:00
aem_generic.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a35.h feat(cpufeat): add cortex-a35 l2 extended control register 2024-01-26 11:00:43 +08:00
cortex_a53.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a55.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a57.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a65.h Introducing support for Cortex-A65 2019-10-02 18:12:28 +02:00
cortex_a65ae.h Introducing support for Cortex-A65AE 2019-10-03 15:38:31 +02:00
cortex_a72.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a73.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a75.h fix(cpus): modify the fix for Cortex-A75 erratum 764081 2024-10-03 10:07:47 -05:00
cortex_a76.h refactor(cpus): convert the Cortex-A76 to use the errata framework 2023-08-03 14:10:28 -05:00
cortex_a76ae.h fix(security): workaround for CVE-2022-23960 for A76AE, A78AE, A78C 2022-03-21 08:57:09 -05:00
cortex_a77.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a78.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a78_ae.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cortex_a78c.h fix(cpus): workaround for Cortex-A78C erratum 2743232 2023-11-20 16:44:28 -06:00
cortex_a320.h chore: rename arcadia to Cortex-A320 2025-02-26 11:00:41 -06:00
cortex_a510.h refactor(cpus): convert the Cortex-A510 to use cpu helpers 2023-07-27 09:35:12 +01:00
cortex_a520.h feat(cpus): workaround for Cortex-A520(2938996) and Cortex-X4(2726228) 2024-08-17 09:37:55 +01:00
cortex_a710.h fix(cpus): workaround for Cortex-A710 erratum 3701772 2025-02-03 10:14:33 -06:00
cortex_a715.h fix(cpus): workaround for Cortex-A715 erratum 3699560 2025-02-03 10:14:33 -06:00
cortex_a720.h fix(cpus): workaround for Cortex-A720 erratum 3699561 2025-02-03 13:57:26 -06:00
cortex_a720_ae.h fix(cpus): workaround for Cortex-A720-AE erratum 3699562 2025-02-03 13:57:50 -06:00
cortex_a725.h fix(cpus): workaround for Cortex-A725 erratum 3699564 2025-02-03 13:57:50 -06:00
cortex_alto.h fix(cpus): avoid SME related loss of context on powerdown 2025-02-03 14:29:47 +00:00
cortex_gelas.h Merge changes I765a7fa0,Ic33f0b6d,I8d1a88c7,I381f96be,I698fa849, ... into integration 2025-02-11 16:52:18 +01:00
cortex_x1.h fix(security): workaround for CVE-2022-23960 for Cortex-X1 2022-05-11 15:24:37 +02:00
cortex_x2.h fix(cpus): workaround for Cortex-X2 erratum 3701772 2025-02-03 13:57:50 -06:00
cortex_x3.h fix(cpus): workaround for Cortex-X3 erratum 3701769 2025-02-03 13:57:50 -06:00
cortex_x4.h fix(cpus): workaround for Cortex-X4 erratum 3701758 2025-02-03 13:57:50 -06:00
cortex_x925.h fix(cpus): workaround for Cortex-X925 erratum 3701747 2025-02-03 13:57:50 -06:00
cpu_macros.S fix(errata-abi): add support for handling split workarounds 2025-03-07 17:02:25 +01:00
cpuamu.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
denver.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
dsu_def.h refactor(cpus): register DSU errata with the errata framework's wrappers 2025-02-20 17:28:17 +00:00
dsu_macros.S refactor(cpus): register DSU errata with the errata framework's wrappers 2025-02-20 17:28:17 +00:00
generic.h fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
neoverse_e1.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
neoverse_n1.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
neoverse_n2.h fix(cpus): workaround for Neoverse-N2 erratum 3701773 2025-02-03 13:57:50 -06:00
neoverse_n3.h fix(cpus): workaround for Neoverse-N3 erratum 3699563 2025-02-03 13:57:50 -06:00
neoverse_v1.h fix(cpus): workaround for Neoverse V1 erratum 2348377 2023-11-20 16:29:40 -06:00
neoverse_v2.h fix(security): add CVE-2024-7881 mitigation to Neoverse-V2 2025-01-30 16:45:35 -06:00
neoverse_v3.h fix(cpus): workaround for Neoverse-V3 erratum 3701767 2025-02-03 13:57:51 -06:00
nevis.h feat(cpus): add support for Nevis CPU 2023-08-28 13:18:20 -05:00
qemu_max.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
rainier.h lib/cpus: update MIDR value for rainier cpu 2020-10-09 10:43:13 +00:00
travis.h fix(cpus): avoid SME related loss of context on powerdown 2025-02-03 14:29:47 +00:00