arm-trusted-firmware/include
Andre Przywara 7db710f0cb refactor(cpufeat): enable FEAT_CSV2_2 for FEAT_STATE_CHECKED
At the moment we only support FEAT_CSV2_2 to be either unconditionally
compiled in, or to be not supported at all.

Add support for runtime detection (ENABLE_FEAT_CSV2_2=2), by splitting
is_armv8_0_feat_csv2_2_present() into an ID register reading function
and a second function to report the support status. That function
considers both build time settings and runtime information (if needed),
and is used before we access the SCXTNUM_EL2 system register.
Also move the context saving code from assembly to C, and use the new
is_feat_csv2_2_supported() function to guard its execution.

Change the FVP platform default to the now supported dynamic option (=2),
so the right decision can be made by the code at runtime.

Change-Id: I89c7bc883e6a65727fdbdd36eb3bfbffb2196da7
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2023-03-22 13:33:22 +00:00
..
arch refactor(cpufeat): enable FEAT_CSV2_2 for FEAT_STATE_CHECKED 2023-03-22 13:33:22 +00:00
bl1 style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 feat(fvp): emulate trapped RNDR 2022-12-21 12:59:36 +00:00
bl32 refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
common style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
drivers Merge "feat(ufs): adds timeout and error handling" into integration 2023-03-17 14:34:41 +01:00
dt-bindings feat(dt-bindings): add TZC400 bindings for STM32MP13 2022-03-22 09:09:23 +01:00
export chore: use tabs for indentation 2022-09-12 15:12:01 -07:00
lib refactor(cpufeat): enable FEAT_CSV2_2 for FEAT_STATE_CHECKED 2023-03-22 13:33:22 +00:00
plat Merge changes from topic "mb/secure-evlog-cpy" into integration 2023-03-16 09:37:18 +01:00
services Merge changes I51c13c52,I3358c51e into integration 2023-02-22 13:19:01 +01:00
tools_share feat(fiptool): add cca, core_swd, plat cert in FIP 2022-06-14 09:47:37 -05:00