arm-trusted-firmware/include
Boyan Karatotev c73686a11c feat(pmu): introduce pmuv3 lib/extensions folder
The enablement code for the PMU is scattered and difficult to track
down. Factor out the feature into its own lib/extensions folder and
consolidate the implementation. Treat it is as an architecturally
mandatory feature as it is currently.

Additionally, do some cleanup on AArch64. Setting overflow bits in
PMCR_EL0 is irrelevant for firmware so don't do it. Then delay the PMU
initialisation until the context management stage which simplifies the
early environment assembly. One side effect is that the PMU might count
before this happens so reset all counters to 0 to prevent any leakage.

Finally, add an enable to manage_extensions_realm() as realm world uses
the pmu. This introduces the HPMN fixup to realm world.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: Ie13a8625820ecc5fbfa467dc6ca18025bf6a9cd3
2023-06-29 09:59:06 +01:00
..
arch feat(pmu): introduce pmuv3 lib/extensions folder 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 feat(pmu): introduce pmuv3 lib/extensions folder 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