commit | af7168608f404bfe531a60b7b9e06aa0bc8778a3 | [log] [tgz] |
---|---|---|
author | Olivier Deprez <olivier.deprez@arm.com> | Tue May 03 11:06:33 2022 +0200 |
committer | Olivier Deprez <olivier.deprez@arm.com> | Wed May 04 06:38:53 2022 +0200 |
tree | 43caa6a3b69f5a3fb8a22430b6ad8d9cd524fe7d | |
parent | 3a78c106bb417a48572c46923c935e8193c4a7bf [diff] |
fix: spm fvp remove speculative execution option Remove those FVP options for SPM test runs: -C cluster0.restriction_on_speculative_execution=2 -C cluster0.restriction_on_speculative_execution_aarch32=2 The reason to force those FVP options was because of using ARCH_ARM_MINOR=5 build option (to support BTI in particular). The side effect was to save/restore this register [1]. (FEAT_CSV2 was Armv8.5 at the time of developing the el2 save/restore routine). Since then, FEAT_CSV2 has been retrofitted into Armv8.0. Context management changes made it a separate TF-A feature build option (for the good) [2]. Eventually FVP options are no longer needed unless specifying ENABLE_FEAT_CSV2_2 TF-A build option, and implementing the required support at the various ELs. [1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/lib/el3_runtime/aarch64/context.S?h=v2.6#n191 [2] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/lib/el3_runtime/aarch64/context.S#n207 Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I24449581b283e8df753f35339cf19a2f2750a65c