mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

MPMM - the Maximum Power Mitigation Mechanism - is an optional microarchitectural feature present on some Armv9-A cores, introduced with the Cortex-X2, Cortex-A710 and Cortex-A510 cores. MPMM allows the SoC firmware to detect and limit high activity events to assist in SoC processor power domain dynamic power budgeting and limit the triggering of whole-rail (i.e. clock chopping) responses to overcurrent conditions. This feature is enabled via the `ENABLE_MPMM` build option. Configuration can be done via FCONF by enabling `ENABLE_MPMM_FCONF`, or by via the plaform-implemented `plat_mpmm_topology` function. Change-Id: I77da82808ad4744ece8263f0bf215c5a091c3167 Signed-off-by: Chris Kay <chris.kay@arm.com>
34 lines
1.2 KiB
ReStructuredText
34 lines
1.2 KiB
ReStructuredText
Activity Monitors
|
|
=================
|
|
|
|
FEAT_AMUv1 of the Armv8-A architecture introduces the Activity Monitors
|
|
extension. This extension describes the architecture for the Activity Monitor
|
|
Unit (|AMU|), an optional non-invasive component for monitoring core events
|
|
through a set of 64-bit counters.
|
|
|
|
When the ``ENABLE_AMU=1`` build option is provided, Trusted Firmware-A sets up
|
|
the |AMU| prior to its exit from EL3, and will save and restore architected
|
|
|AMU| counters as necessary upon suspend and resume.
|
|
|
|
.. _Activity Monitor Auxiliary Counters:
|
|
|
|
Auxiliary counters
|
|
------------------
|
|
|
|
FEAT_AMUv1 describes a set of implementation-defined auxiliary counters (also
|
|
known as group 1 counters), controlled by the ``ENABLE_AMU_AUXILIARY_COUNTERS``
|
|
build option.
|
|
|
|
As a security precaution, Trusted Firmware-A does not enable these by default.
|
|
Instead, platforms may configure their auxiliary counters through one of two
|
|
possible mechanisms:
|
|
|
|
- |FCONF|, controlled by the ``ENABLE_AMU_FCONF`` build option.
|
|
- A platform implementation of the ``plat_amu_topology`` function (the default).
|
|
|
|
See :ref:`Activity Monitor Unit (AMU) Bindings` for documentation on the |FCONF|
|
|
device tree bindings.
|
|
|
|
--------------
|
|
|
|
*Copyright (c) 2021, Arm Limited. All rights reserved.*
|