commit | 10ecd58093a34e95e2dfad65b1180610f29397cc | [log] [tgz] |
---|---|---|
author | Boyan Karatotev <boyan.karatotev@arm.com> | Wed Mar 26 15:54:55 2025 +0000 |
committer | Boyan Karatotev <boyan.karatotev@arm.com> | Mon Apr 14 09:58:02 2025 +0100 |
tree | e150a40f8b7d12cda433802c17518fac45e95ead | |
parent | e0c2b73694cca63d1ad41421ed2906b2fcc2ef19 [diff] |
feat(cpufeat): enable FEAT_BTI to FEAT_STATE_CHECKED Introduce the is_feat_bti_{supported, present}() helpers and replace checks for ENABLE_BTI with it. Also factor out the setting of SCTLR_EL3.BT out of the PAuth enablement and place it in the respective entrypoints where we initialise SCTLR_EL3. This makes PAuth self-contained and SCTLR_EL3 initialisation centralised. Change-Id: I0c0657ff1e78a9652cd2cf1603478283dc01f17b Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>