arm-trusted-firmware/include
Boyan Karatotev 24a70738b2 refactor(cm): introduce a real manage_extensions_nonsecure()
manage_extensions_nonsecure() is problematic because it updates both
context and in-place registers (unlike its secure/realm counterparts).
The in-place register updates make it particularly tricky, as those
never change for the lifetime of TF-A. However, they are only set when
exiting to NS world. As such, all of TF-A's execution before that
operates under a different context. This is inconsistent and could cause
problems.

This patch Introduce a real manage_extensions_nonsecure() which only
operates on the context structure. It also introduces a
cm_manage_extensions_el3() which only operates on register in-place that
are not context switched. It is called in BL31's entrypoints so that all
of TF-A executes with the same environment once all features have been
converted.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ic579f86c41026d2054863ef44893e0ba4c591da9
2023-06-29 09:59:06 +01:00
..
arch Merge "feat(aarch64): add stack debug information to assembly routines" into integration 2023-06-08 11:23:43 +02:00
bl1 style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
bl32 refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
common refactor(fdt-wrappers): fix for unit testing errors 2023-06-26 15:03:08 -05:00
drivers fix(spi-nand): add Quad Enable management 2023-05-31 18:03:28 +02:00
dt-bindings feat(dt-bindings): add TZC400 bindings for STM32MP13 2022-03-22 09:09:23 +01:00
export fix: integer suffix macro definition 2023-06-20 15:22:19 +02:00
lib refactor(cm): introduce a real manage_extensions_nonsecure() 2023-06-29 09:59:06 +01:00
plat fix(plat/arm): add RAS_FFH_SUPPORT check for RAS EHF priority 2023-06-23 15:08:44 +05:30
services chore: remove unused and undefined function 2023-06-06 08:19:06 -07:00
tools_share feat(cert-create): add new option for CCA NV ctr 2023-05-25 16:40:43 -05:00