| af9303bc | 12-Feb-2026 |
Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
fix(rme): harden check in get PAS
If RME is enabled, ensure the translation regime is EL3_REGIME when extracting PAS from memory attributes.
This also fixes the output PA space as non-secure when R
fix(rme): harden check in get PAS
If RME is enabled, ensure the translation regime is EL3_REGIME when extracting PAS from memory attributes.
This also fixes the output PA space as non-secure when RME is enabled and SEL2 is not implemented for MT_SECURE.
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> Change-Id: Ic409698ed8f4841cfe5ae8517499c02d95e474c9
show more ...
|
| aaaf2cc3 | 13-Mar-2024 |
Sona Mathew <sonarebecca.mathew@arm.com> |
refactor(cpufeat): add macro to simplify is_feat_xx_present
In this patch, we are trying to introduce the wrapper macro CREATE_FEATURE_PRESENT to get the following capability and align it for all th
refactor(cpufeat): add macro to simplify is_feat_xx_present
In this patch, we are trying to introduce the wrapper macro CREATE_FEATURE_PRESENT to get the following capability and align it for all the features:
-> is_feat_xx_present(): Does Hardware implement the feature. -> uniformity in naming the function across multiple features. -> improved readability
The is_feat_xx_present() is implemented to check if the hardware implements the feature and does not take into account the ENABLE_FEAT_XXX flag enabled/disabled in software.
- CREATE_FEATURE_PRESENT(name, idreg, shift, mask, idval) The wrapper macro reduces the function to a single line and creates the is_feat_xx_present function that checks the id register based on the shift and mask values and compares this against a determined idvalue.
Change-Id: I7b91d2c9c6fbe55f94c693aa1b2c50be54fb9ecc Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
show more ...
|