arm-trusted-firmware/bl32
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
..
optee Remove references to old project name from common files 2019-07-10 11:13:00 +01:00
sp_min refactor(pmu): convert FEAT_MTPMU to C and move to persistent register init 2023-06-29 09:59:06 +01:00
tsp fix(tsp): fix destination ID in direct request 2023-06-21 22:12:03 +01:00