arm-trusted-firmware/lib/extensions
Govindraj Raja 306551362c feat(d128): add support for FEAT_D128
This patch disables trapping to EL3 when the FEAT_D128
specific registers are accessed by setting the SCR_EL3.D128En bit.

If FEAT_D128 is implemented, then FEAT_SYSREG128 is implemented.
With FEAT_SYSREG128 certain system registers are treated as 128-bit,
so we should be context saving and restoring 128-bits instead of 64-bit
when FEAT_D128 is enabled.

FEAT_SYSREG128 adds support for MRRS and MSRR instruction which
helps us to read write to 128-bit system register.
Refer to Arm Architecture Manual for further details.

Change the FVP platform to default to handling this as a dynamic option
so the right decision can be made by the code at runtime.

Change-Id: I1a53db5eac29e56c8fbdcd4961ede3abfcb2411a
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2024-10-24 14:51:55 -05:00
..
amu refactor(cm): move EL3 registers to global context 2023-10-31 11:18:42 +00:00
brbe fix(brbe): allow RME builds with BRBE 2024-10-18 11:30:34 +01:00
debug feat(debugv8p9): add support for FEAT_Debugv8p9 2024-07-18 13:49:43 -05:00
fgt feat(fgt2): add support for FEAT_FGT2 2024-07-18 13:49:43 -05:00
mpam refactor(cm): move MPAM3_EL3 reg to per world context 2023-12-21 12:37:21 +00:00
pauth chore(pauth): remove redundant pauth_disable_el3() call 2023-04-28 08:09:14 +01:00
pmuv3 refactor(cm): remove el1 context when SPMD_SPM_AT_SEL2=1 2024-08-21 16:35:27 +01:00
ras chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
sme refactor(cpufeat): add macro to simplify is_feat_xx_present 2024-05-02 12:16:16 -05:00
spe feat(spe): introduce spe_disable() function 2024-07-29 20:34:18 +01:00
sve refactor(cm): move EL3 registers to global context 2023-10-31 11:18:42 +00:00
sys_reg_trace refactor(cm): move EL3 registers to global context 2023-10-31 11:18:42 +00:00
sysreg128 feat(d128): add support for FEAT_D128 2024-10-24 14:51:55 -05:00
tcr feat(cm): handle asymmetry for FEAT_TCR2 2024-09-05 16:28:23 +01:00
trbe feat(trbe): introduce trbe_disable() function 2024-07-29 20:35:14 +01:00
trf feat(cm): context switch MDCR_EL3 register 2024-06-25 13:50:32 +01:00