Searched hist:"780 c9f09241fb8c91f898f9a26c742757dd92af7" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/lib/el3_runtime/aarch64/ |
| H A D | context_mgmt.c | 780c9f09241fb8c91f898f9a26c742757dd92af7 Tue Oct 14 13:58:40 UTC 2025 Boyan Karatotev <boyan.karatotev@arm.com> fix(cm): correctly restore BL2's context
We have a single context management library but two BLs that use it very differently - BL1 and BL31. Configuring it correctly is quite tricky as in the BL1 + BL2 + BL31 + spmd case we have it operate on both EL1 and EL2 context (for BL1 and BL31 respectively).
Welp, we've got that wrong - BL1 will skip EL1's register initialisation leaving it at the mercy of UNKNOWN registers' values. If they aren't as we expect, things don't go well.
This is not the end of the world as BL1 is expected to be the first thing to run and UNKNOWN values generally reset to things we find acceptable. But add the correct BL1 carveouts so they are set up correctly.
Change-Id: Ia0d5522ac0c9f4616dd124b10f0c2fdc823a0d87 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
|