arm-trusted-firmware/include/lib
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
..
bl_aux_params chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cpus fix(errata-abi): add support for handling split workarounds 2025-03-07 17:02:25 +01:00
dice feat(dice): add typedefs from the Open DICE repo 2024-03-06 15:44:55 +01:00
el3_runtime fix(el3-runtime): replace CTX_ESR_EL3 with CTX_DOUBLE_FAULT_ESR 2025-02-28 11:48:37 +00:00
extensions feat(ras): add eabort get helper function 2025-03-06 13:45:08 +00:00
fconf perf(amu): greatly simplify AMU context management 2025-02-25 08:50:46 +00:00
gpt_rme feat(gpt): statically allocate bitlocks array 2025-02-11 15:10:49 +00:00
hob feat(lib): introduce Hob creation library 2024-12-06 13:26:31 +00:00
libc fix(libc): remove __Nonnull type specifier 2025-02-16 23:05:07 +00:00
libfdt chore(libfdt): update header files to v1.7.0 tag 2023-11-06 21:13:22 +00:00
pmf fix(smc): correctly find pmf version 2024-05-08 20:36:04 -05:00
psa feat(psa): add interface with RSE for retrieving entropy 2025-02-04 10:26:02 +00:00
psci chore(docs): drop the "wfi" from pwr_domain_pwr_down_wfi 2025-02-03 14:29:47 +00:00
xlat_mpu chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
xlat_tables fix(xlat): correct attribute retrieval in a RME enabled system 2024-07-22 14:14:33 +02:00
zlib chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
bakery_lock.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
bootmarker_capture.h feat(fvp): capture timestamps in bl stages 2023-09-07 23:38:43 +02:00
cassert.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
coreboot.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
debugfs.h fix(smc): correctly find pmf version 2024-05-08 20:36:04 -05:00
mmio.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
object_pool.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
optee_utils.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
runtime_instr.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
semihosting.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
smccc.h feat(smccc): add vendor specific el3 id 2024-05-06 09:42:11 -05:00
spinlock.h feat(locks): add bitlock 2024-04-15 12:14:16 +01:00
transfer_list.h feat(handoff): add transfer entry printer 2025-02-25 09:32:42 +00:00
utils.h chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
utils_def.h refactor(lib): rename GENMASK parameters 2024-06-26 20:54:47 +03:00