Searched hist:f3e2b499707c5cde85033c8ed16efe4f16de5231 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/arch/aarch64/ |
| H A D | arch_helpers.h | f3e2b499707c5cde85033c8ed16efe4f16de5231 Fri Mar 07 15:30:42 UTC 2025 Govindraj Raja <govindraj.raja@arm.com> 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>
|