arm-trusted-firmware/lib
Jayanth Dodderi Chidanand d6af234431 refactor(cm): couple el2 registers with dependent feature flags
Currently the EL2 part of the context structure (el2_sysregs_t), is
mostly feature dependent.

For instance, CTX_HCRX_EL2 is only needed when FEAT_HCX
(ENABLE_FEAT_HCX=1) is set, but the entry is unconditionally added
in the EL2 context structure and thereby consuming memory even in
build configurations where FEAT_HCX is disabled.

Henceforth, all such context entries should be coupled/tied with
their respective feature enables and be optimized away when unused.
This would reduce the context memory allocation for platforms, that
dont enable/support all the architectural features at once.

Further, converting the assembly context-offset entries into
a c structure relies on garbage collection of the linker
removing unreferenced structures from memory, as well as aiding
in readability and future maintenance.

Change-Id: I0cf49498ee3033cb6f3ee3810331121b26627783
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
2024-03-07 14:50:23 +00:00
..
aarch32 chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
aarch64 fix(gpt): use DC CIGDPAPA when MTE2 is implemented 2024-02-12 17:38:00 +01:00
bl_aux_params chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
compiler-rt chore(compiler-rt): update compiler-rt source files 2023-11-06 21:14:01 +00:00
coreboot chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
cpus fix(cpus): workaround for Cortex-A715 erratum 2331818 2024-03-06 13:57:02 -06:00
debugfs chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
el3_runtime refactor(cm): couple el2 registers with dependent feature flags 2024-03-07 14:50:23 +00:00
extensions refactor(cm): couple el2 registers with dependent feature flags 2024-03-07 14:50:23 +00:00
fconf feat(fconf): support signing-key in root cert node 2024-01-18 13:18:09 -06:00
gpt_rme fix(gpt): use DC CIGDPAPA when MTE2 is implemented 2024-02-12 17:38:00 +01:00
libc fix(libc): memset inclusion to libc makefiles 2024-02-02 09:49:01 +01:00
libfdt chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
locks chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
mpmm fix(errata): workaround for Cortex-A510 erratum 2250311 2022-02-24 23:30:41 +02:00
optee chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
pmf fix(smccc): ensure that mpidr passed through SMC is valid 2023-11-06 20:43:38 +00:00
psa refactor(rss)!: remove PLAT_RSS_NOT_SUPPORTED build option 2023-11-13 16:30:21 +00:00
psci fix(spe): invoke spe_disable during power domain off/suspend 2024-02-02 20:06:28 +00:00
romlib build: use new toolchain variables for tools 2024-02-06 11:14:52 +00:00
semihosting chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
stack_protector chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
transfer_list feat(handoff): enhance transfer list library 2023-12-18 15:52:51 +00:00
utils chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
xlat_mpu chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
xlat_tables chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
xlat_tables_v2 fix(xlat): set MAX_PHYS_ADDR to total mapped physical region 2023-11-03 16:33:51 +05:30
zlib chore(zlib): update zlib to version 1.3 2023-11-06 21:13:38 +00:00