arm-trusted-firmware/include
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
..
arch perf(cm): drop ZCR_EL3 saving and some ISBs and replace them with root context 2025-02-25 08:52:06 +00:00
bl1 refactor(bl1): clean up bl2 layout calculation 2024-04-26 09:00:12 +00:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 Merge "refactor(sdei): use common create_spsr() in SDEI library" into integration 2024-03-14 21:17:45 +01:00
bl32 feat(cm): test integrity of el1_ctx registers 2024-11-08 11:05:13 +00:00
common feat(rmm): add PCIe IO info to Boot manifest 2025-02-11 15:10:49 +00:00
drivers Merge changes from topic "jw/gic-lca-support" into integration 2025-02-20 17:17:35 +01:00
dt-bindings fix(dt-bindings): update STM32MP2 clock and reset bindings 2024-06-27 17:17:35 +02:00
export feat(tbbr): add image id for backup GPT 2023-10-27 08:31:54 -05:00
lib fix(errata-abi): add support for handling split workarounds 2025-03-07 17:02:25 +01:00
plat feat(drtm): introduce plat API for DLME authentication features 2025-02-26 12:52:22 +00:00
services fix(smccc): register PMUv3p5 and PMUv3p7 bits with the FEATURE_AVAILABILITY call 2025-03-07 15:28:35 +01:00
tools_share fix(tc): add SCP_BL2 to RSE measured boot 2024-06-13 15:53:10 +02:00