commit | 60d330dc4d26eb5509044572d5c163b26501a0de | [log] [tgz] |
---|---|---|
author | Boyan Karatotev <boyan.karatotev@arm.com> | Thu Feb 16 15:12:45 2023 +0000 |
committer | Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> | Tue Jul 04 14:57:46 2023 +0100 |
tree | 67550e2cf6b0cad23c7029a0420fa4a9c194cac2 | |
parent | 8e31faa05bd86a762eda4844eee5e9d095a57660 [diff] |
refactor(cpufeat): separate the EL2 and EL3 enablement code Combining the EL2 and EL3 enablement code necessitates that it must be called at el3_exit, which is the only place with enough context to make the decision of what needs to be set. Decouple them to allow them to be called from elsewhere. Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I147764c42771e7d4100699ec8fae98dac0a505c0