arm-trusted-firmware/include/lib/cpus
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
..
aarch32 perf(cpus): make reset errata do fewer branches 2025-02-24 09:36:11 +00:00
aarch64 fix(errata-abi): add support for handling split workarounds 2025-03-07 17:02:25 +01:00
cpu_ops.h perf(cpus): inline the reset function 2025-02-24 09:36:10 +00:00
errata.h fix(errata-abi): add support for handling split workarounds 2025-03-07 17:02:25 +01:00
wa_cve_2017_5715.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
wa_cve_2018_3639.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
wa_cve_2022_23960.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00