Chris Kay | cda8921 | 2021-08-17 16:24:57 +0100 | [diff] [blame] | 1 | Activity Monitors |
| 2 | ================= |
| 3 | |
| 4 | FEAT_AMUv1 of the Armv8-A architecture introduces the Activity Monitors |
| 5 | extension. This extension describes the architecture for the Activity Monitor |
| 6 | Unit (|AMU|), an optional non-invasive component for monitoring core events |
| 7 | through a set of 64-bit counters. |
| 8 | |
| 9 | When the ``ENABLE_AMU=1`` build option is provided, Trusted Firmware-A sets up |
| 10 | the |AMU| prior to its exit from EL3, and will save and restore architected |
| 11 | |AMU| counters as necessary upon suspend and resume. |
| 12 | |
Chris Kay | 03be39d | 2021-05-05 13:38:30 +0100 | [diff] [blame] | 13 | .. _Activity Monitor Auxiliary Counters: |
| 14 | |
Chris Kay | f11909f | 2021-08-19 11:21:52 +0100 | [diff] [blame] | 15 | Auxiliary counters |
| 16 | ------------------ |
| 17 | |
| 18 | FEAT_AMUv1 describes a set of implementation-defined auxiliary counters (also |
| 19 | known as group 1 counters), controlled by the ``ENABLE_AMU_AUXILIARY_COUNTERS`` |
| 20 | build option. |
| 21 | |
| 22 | As a security precaution, Trusted Firmware-A does not enable these by default. |
| 23 | Instead, platforms may configure their auxiliary counters through one of two |
| 24 | possible mechanisms: |
| 25 | |
| 26 | - |FCONF|, controlled by the ``ENABLE_AMU_FCONF`` build option. |
| 27 | - A platform implementation of the ``plat_amu_topology`` function (the default). |
| 28 | |
| 29 | See :ref:`Activity Monitor Unit (AMU) Bindings` for documentation on the |FCONF| |
| 30 | device tree bindings. |
| 31 | |
Chris Kay | cda8921 | 2021-08-17 16:24:57 +0100 | [diff] [blame] | 32 | -------------- |
| 33 | |
| 34 | *Copyright (c) 2021, Arm Limited. All rights reserved.* |