mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
refactor(mte): remove mte, mte_perm
Currently both FEAT_MTE and FEAT_MTE_PERM aren't used for enabling of any feature bits in EL3. So remove both FEAT handling. All mte regs that are currently context saved/restored are needed only when FEAT_MTE2 is enabled, so move to usage of FEAT_MTE2 and remove FEAT_MTE usage. BREAKING CHANGE: Any platform or downstream code trying to use SCR_EL3.ATA bit(26) will see failures as this is now moved to be used only with FEAT_MTE2 with commit@ef0d0e5478a3f19cbe70a378b9b184036db38fe2 Change-Id: Id01e154156571f7792135639e17dc5c8d0e17cf8 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
This commit is contained in:
parent
e7419780f7
commit
c282384dbb
14 changed files with 31 additions and 66 deletions
|
@ -167,9 +167,7 @@ void detect_arch_features(void)
|
|||
"TRF", 1, 1);
|
||||
|
||||
/* v8.5 features */
|
||||
check_feature(ENABLE_FEAT_MTE, read_feat_mte_id_field(), "MTE",
|
||||
MTE_IMPLEMENTED_EL0, MTE_IMPLEMENTED_ASY);
|
||||
check_feature(ENABLE_FEAT_MTE2, read_feat_mte_id_field(), "MTE2",
|
||||
check_feature(ENABLE_FEAT_MTE2, get_armv8_5_mte_support(), "MTE2",
|
||||
MTE_IMPLEMENTED_ELX, MTE_IMPLEMENTED_ASY);
|
||||
check_feature(ENABLE_FEAT_RNG, read_feat_rng_id_field(), "RNG", 1, 1);
|
||||
read_feat_bti();
|
||||
|
@ -204,8 +202,6 @@ void detect_arch_features(void)
|
|||
"S2POE", 1, 1);
|
||||
check_feature(ENABLE_FEAT_S1POE, read_feat_s1poe_id_field(),
|
||||
"S1POE", 1, 1);
|
||||
check_feature(ENABLE_FEAT_MTE_PERM, read_feat_mte_perm_id_field(),
|
||||
"MTE_PERM", 1, 1);
|
||||
check_feature(ENABLE_FEAT_CSV2_3, read_feat_csv2_id_field(),
|
||||
"CSV2_3", 3, 3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue