blob: 4c33d42f3ac79cb535f0d86aa88972ed0445fde5 [file] [log] [blame]
Chris Kaycda89212021-08-17 16:24:57 +01001Activity Monitors
2=================
3
4FEAT_AMUv1 of the Armv8-A architecture introduces the Activity Monitors
5extension. This extension describes the architecture for the Activity Monitor
6Unit (|AMU|), an optional non-invasive component for monitoring core events
7through a set of 64-bit counters.
8
Andre Przywara0b7f1b02023-03-21 13:53:19 +00009When the ``ENABLE_FEAT_AMU=1`` build option is provided, Trusted Firmware-A
10sets up the |AMU| prior to its exit from EL3, and will save and restore
11architected |AMU| counters as necessary upon suspend and resume.
Chris Kaycda89212021-08-17 16:24:57 +010012
Chris Kay03be39d2021-05-05 13:38:30 +010013.. _Activity Monitor Auxiliary Counters:
14
Chris Kayf11909f2021-08-19 11:21:52 +010015Auxiliary counters
16------------------
17
18FEAT_AMUv1 describes a set of implementation-defined auxiliary counters (also
19known as group 1 counters), controlled by the ``ENABLE_AMU_AUXILIARY_COUNTERS``
20build option.
21
22As a security precaution, Trusted Firmware-A does not enable these by default.
Boyan Karatotevb2953472024-11-06 14:55:35 +000023Instead, platforms must configure their auxiliary counters through the
24``plat_amu_aux_enables`` platform hook.
Chris Kayf11909f2021-08-19 11:21:52 +010025
Chris Kaycda89212021-08-17 16:24:57 +010026--------------
27
Boyan Karatotevb2953472024-11-06 14:55:35 +000028*Copyright (c) 2021-2025, Arm Limited. All rights reserved.*