arm-trusted-firmware/include/arch/aarch64
Govindraj Raja f3e2b49970 fix(cpufeat): avoid using mrrs/msrr for tspd
tspd compiles with `arch_helpers.h` and when FEAT_D128 is enabled
read/writes to D128 impacted registers will provide 128-bit
mrrs/msrr read/write implementation.

However FEAT_D128 implementation with SCR_EL3.D128en is set only
for lower-EL Non-Secure world. When tspd is chosen as the SPD target,
it builds tsp as well. This S-EL1 payload, used for testing,
inadvertently uses mrrs/msrr read/write implementation in
`modify_el1_common_regs` helper function. This eventually leads
to a panic.

Group all D128 impacted registers and avoid using mrrs/msrr read/write
implementation for tspd builds.

Change-Id: Ic0ed3a901ffa65f9447cae08951defbadee3e02a
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2025-03-07 18:12:12 +01:00
..
arch.h perf(mpmm): greatly simplify MPMM enablement 2025-02-25 08:50:45 +00:00
arch_features.h perf(amu): greatly simplify AMU context management 2025-02-25 08:50:46 +00:00
arch_helpers.h fix(cpufeat): avoid using mrrs/msrr for tspd 2025-03-07 18:12:12 +01:00
asm_macros.S perf(cpus): inline the reset function 2025-02-24 09:36:10 +00:00
assert_macros.S Reorganize architecture-dependent header files 2019-01-04 10:43:16 +00:00
console_macros.S refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
el2_common_macros.S perf(cpus): inline the reset function 2025-02-24 09:36:10 +00:00
el3_common_macros.S perf(cm): drop ZCR_EL3 saving and some ISBs and replace them with root context 2025-02-25 08:52:06 +00:00
smccc_helpers.h feat(spmd): introduce FFA_PARTITION_INFO_GET_REGS 2023-02-13 08:47:41 -08:00