arm-trusted-firmware/lib/extensions
Mark Brown 26a3351eda feat(sme): fall back to SVE if SME is not there
Due to their interrelationship in the architecture the SVE and SME
features in TF-A are mutually exclusive. This means that a single binary
can't be shared between systems with and without SME if the system
without SME does support SVE, SVE will not be initialised so lower ELs
will run into trouble trying to use it. This unusual behaviour for TF-A
which normally gracefully handles situations where features are enabled
but not supported on the current hardware.

Address this by calling the SVE enable and disable functions if SME is
not supported rather than immediately exiting, these perform their own
feature checks so if neither SVE nor SME is supported behaviour is
unchanged.

Signed-off-by: Mark Brown <broonie@kernel.org>
Change-Id: I2c606202fa6c040069f44e29d36b5abb48391874
2022-07-05 11:37:18 +02:00
..
amu fix(amu): limit virtual offset register access to NS world 2022-04-28 20:30:42 +02:00
brbe feat(brbe): add brbe under feature detection mechanism 2022-06-06 11:43:03 +01:00
mpam refactor(mpam): remove initialization of EL2 registers when EL2 is used 2022-04-12 17:41:51 +02:00
mtpmu Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
pauth TF-A: Add support for ARMv8.3-PAuth in BL1 SMC calls and BL2U 2019-10-03 14:43:55 +01:00
ras lib/extensions/ras: fix bug of binary search 2021-01-14 09:27:16 +08:00
sme feat(sme): fall back to SVE if SME is not there 2022-07-05 11:37:18 +02:00
spe feat(spe): add support for FEAT_SPEv1p2 2022-02-10 09:30:13 +00:00
sve feat(sme): enable SME functionality 2021-11-12 10:38:00 -06:00
sys_reg_trace feat(sys_reg_trace): enable trace system registers access from lower NS ELs 2021-08-26 09:29:51 +01:00
trbe feat(trbe): add trbe under feature detection mechanism 2022-06-06 11:43:14 +01:00
trf feat(trf): enable trace filter control register access from lower NS EL 2021-08-26 09:32:35 +01:00