arm-trusted-firmware/include
Boyan Karatotev 4085a02c76 refactor(amu): 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. Also take
some time to clarify and simplify AMU code.

The sanity check in the context_restore() is now wrong, as the cpu may
turn off on suspend, thus resetting the value of the counter enables.
Remove it.

Finally, this completes the migration to cm_manage_extensions_el3() and
manage_extensions_nonsecure() so manage_extensions_nonsecure_mixed() is
being removed.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I66399132364c32be66017506bb54cbadd8485577
2023-07-04 14:57:46 +01:00
..
arch refactor(pmu): convert FEAT_MTPMU to C and move to persistent register init 2023-06-29 09:59:06 +01: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(amu): separate the EL2 and EL3 enablement code 2023-07-04 14:57:46 +01:00
plat fix(fvp): adjust BL31 maximum size as per total SRAM size 2023-06-28 21:53:51 +01:00
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