arm-trusted-firmware/include/lib/extensions
Andre Przywara 6437a09a2d refactor(spe): enable FEAT_SPE for FEAT_STATE_CHECKED
At the moment we only support FEAT_SPE to be either unconditionally
compiled in, or to be not supported at all.

Add support for runtime detection (ENABLE_SPE_FOR_NS=2), by splitting
is_armv8_2_feat_spe_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 SPE related registers.

Previously SPE was enabled unconditionally for all platforms, change
this now to the runtime detection version.

Change-Id: I830c094107ce6a398bf1f4aef7ffcb79d4f36552
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2023-03-20 13:37:36 +00:00
..
amu.h feat(amu): enable per-core AMU auxiliary counters 2021-10-26 12:15:33 +01:00
brbe.h fix(cpufeat): resolve build errors due to compiler optimization 2023-03-01 17:54:07 +01:00
mpam.h refactor(mpam): remove unused function declaration 2021-07-09 22:03:38 +02:00
pauth.h Refactor ARMv8.3 Pointer Authentication support code 2019-09-13 14:11:59 +01:00
ras.h Tegra194: add RAS exception handling 2020-06-12 09:43:54 -07:00
ras_arch.h Tegra194: add RAS exception handling 2020-06-12 09:43:54 -07:00
sme.h feat(sme): enable SME functionality 2021-11-12 10:38:00 -06:00
spe.h refactor(spe): enable FEAT_SPE for FEAT_STATE_CHECKED 2023-03-20 13:37:36 +00:00
sve.h feat(sme): enable SME functionality 2021-11-12 10:38:00 -06:00
sys_reg_trace.h feat(sys_reg_trace): enable trace system registers access from lower NS ELs 2021-08-26 09:29:51 +01:00
trbe.h fix(cpufeat): resolve build errors due to compiler optimization 2023-03-01 17:54:07 +01:00
trf.h fix(cpufeat): resolve build errors due to compiler optimization 2023-03-01 17:54:07 +01:00