commit | 6468d4ae23c4bc742368f9853a7589dacb4b86ce | [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 | 1de39df4ccbca0e4353b27e69e3bfaed3a22bb3c [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