arm-trusted-firmware/docs/getting_started
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
..
build-internals.rst build: restrict usage of CTX_INCLUDE_EL2_REGS 2022-12-01 12:04:40 +02:00
build-options.rst refactor(pmu): convert FEAT_MTPMU to C and move to persistent register init 2023-06-29 09:59:06 +01:00
docs-build.rst docs: patch Poetry build instructions 2023-04-25 16:18:10 +01:00
image-terminology.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00
index.rst docs(porting): move porting guide upper in table of contents 2023-04-11 10:11:04 +02:00
initial-build.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00
prerequisites.rst docs(prerequisites): update software and libraries prerequisites 2023-05-16 17:36:18 +01:00
psci-lib-integration-guide.rst docs: update PSCI reference 2023-06-15 09:46:43 +01:00
rt-svc-writers-guide.rst docs: update PSCI reference 2023-06-15 09:46:43 +01:00
tools-build.rst docs(build): clarify getting started section 2022-11-16 14:06:48 +00:00