arm-trusted-firmware/lib
Boyan Karatotev 83a4dae1af refactor(pmu): convert FEAT_MTPMU to C and move to persistent register init
The FEAT_MTPMU feature disable runs very early after reset. This means,
it needs to be written in assembly, since the C runtime has not been
initialised yet.

However, there is no need for it to be initialised so soon. The PMU
state is only relevant after TF-A has relinquished control. The code
to do this is also very verbose and difficult to read. Delaying the
initialisation allows for it to happen with the rest of the PMU. Align
with FEAT_STATE in the process.

BREAKING CHANGE: This patch explicitly breaks the EL2 entry path. It is
currently unsupported.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I2aa659d026fbdb75152469f6d19812ece3488c6f
2023-06-29 09:59:06 +01:00
..
aarch32 fix(cpus): remove plat_can_cmo check for aarch32 2022-11-14 15:31:17 +01:00
aarch64 refactor(build): distinguish BL2 as TF-A entry point and BL2 running at EL3 2023-03-15 11:43:14 +00:00
bl_aux_params fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
compiler-rt feat(compiler-rt): update source files 2023-05-11 10:32:14 +01:00
coreboot feat(optee): add device tree for coreboot table 2023-05-11 10:46:57 +02:00
cpus Merge changes from topic "ms/cpu_errata" into integration 2023-06-28 17:28:57 +02:00
debugfs fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
el3_runtime feat(pmu): introduce pmuv3 lib/extensions folder 2023-06-29 09:59:06 +01:00
extensions refactor(pmu): convert FEAT_MTPMU to C and move to persistent register init 2023-06-29 09:59:06 +01:00
fconf chore(fconf): rename last occurences of set_fw_config_info() 2023-06-06 14:38:34 +02:00
gpt_rme fix(gpt_rme): fix compilation error for gpt_rme.c 2022-12-09 11:27:14 +00:00
libc feat(lib): implement memcpy_s in lib 2023-06-13 11:25:48 +08:00
libfdt chore(libfdt): update to v1.7.0 source files 2023-05-11 10:28:47 +01:00
locks style: remove useless trailing semicolon and line continuations 2023-03-09 14:59:08 +01:00
mpmm fix(errata): workaround for Cortex-A510 erratum 2250311 2022-02-24 23:30:41 +02:00
optee fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
pmf build: always prefix section names with . 2023-02-20 18:29:33 +00:00
psa fix(measured-boot): don't strip last non-0 char 2023-05-31 16:40:43 +02:00
psci refactor(cm): introduce a real manage_extensions_nonsecure() 2023-06-29 09:59:06 +01:00
romlib style: normalize linker script code style 2023-02-10 17:01:46 +00:00
semihosting fix(semihosting): fix seek call failure check 2022-09-28 11:53:42 +01:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
xlat_mpu refactor(fvp_r): remove unused files and clean up makefiles 2021-10-29 09:43:19 -05:00
xlat_tables fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
xlat_tables_v2 feat(xlat): detect 4KB and 16KB page support when FEAT_LPA2 is present 2023-06-05 11:05:02 +01:00
zlib style: fix functions definitions 2023-03-13 12:34:40 +01:00