arm-trusted-firmware/lib
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
..
aarch32 fix(cpus): remove plat_can_cmo check for aarch32 2022-11-14 15:31:17 +01:00
aarch64 refactor(build): distinguish BL2 as TF-A entry point and BL2 running at EL3 2023-03-15 11:43:14 +00:00
bl_aux_params fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
compiler-rt fix(deps): add missing aeabi_memset.S 2023-02-13 14:37:19 +00:00
coreboot Update in coreboot_get_memory_type API to include size as well 2020-10-16 02:23:35 +05:30
cpus Merge changes from topic "bk/errata_refactor" into integration 2023-03-20 16:45:08 +01:00
debugfs DebugFS: Check channel index before calling clone function 2021-01-21 15:25:23 +00:00
el3_runtime refactor(cpufeat): enable FEAT_CSV2_2 for FEAT_STATE_CHECKED 2023-03-22 13:33:22 +00:00
extensions refactor(cpufeat): enable SYS_REG_TRACE for FEAT_STATE_CHECKED 2023-03-22 13:33:22 +00:00
fconf refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE 2023-02-21 11:09:47 +00:00
gpt_rme fix(gpt_rme): fix compilation error for gpt_rme.c 2022-12-09 11:27:14 +00:00
libc fix(libc): remove __putchar alias 2023-01-11 09:18:50 +01:00
libfdt feat(libfdt): upgrade libfdt source files 2022-10-19 14:07:46 +01:00
locks style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
mpmm fix(errata): workaround for Cortex-A510 erratum 2250311 2022-02-24 23:30:41 +02:00
optee feat(optee): add loading OP-TEE image via an SMC 2023-01-31 10:38:16 -08:00
pmf build: always prefix section names with . 2023-02-20 18:29:33 +00:00
psa feat(psa): interface with RSS for NV counters 2023-02-08 10:33:48 +02:00
psci build: always prefix section names with . 2023-02-20 18:29:33 +00:00
romlib style: normalize linker script code style 2023-02-10 17:01:46 +00:00
semihosting fix(semihosting): fix seek call failure check 2022-09-28 11:53:42 +01:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
xlat_mpu refactor(fvp_r): remove unused files and clean up makefiles 2021-10-29 09:43:19 -05:00
xlat_tables style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
xlat_tables_v2 feat(spmc): prevent read only xlat tables with the EL3 SPMC 2022-04-13 09:44:52 +01:00
zlib style: fix functions definitions 2023-03-13 12:34:40 +01:00