Merge "build(amu): restrict counters (RAZ)" into integration

This commit is contained in:
Manish V Badarkhe 2024-07-29 18:55:03 +02:00 committed by TrustedFirmware Code Review
commit 93b7b752e9
2 changed files with 4 additions and 3 deletions

View file

@ -23,8 +23,9 @@ Common build options
is expected to contain a makefile called ``<aarch32_sp-value>.mk``. is expected to contain a makefile called ``<aarch32_sp-value>.mk``.
- ``AMU_RESTRICT_COUNTERS``: Register reads to the group 1 counters will return - ``AMU_RESTRICT_COUNTERS``: Register reads to the group 1 counters will return
zero at all but the highest implemented exception level. Reads from the zero at all but the highest implemented exception level. External
memory mapped view are unaffected by this control. memory-mapped debug accesses are unaffected by this control.
The default value is 1 for all platforms.
- ``ARCH`` : Choose the target build architecture for TF-A. It can take either - ``ARCH`` : Choose the target build architecture for TF-A. It can take either
``aarch64`` or ``aarch32`` as values. By default, it is defined to ``aarch64`` or ``aarch32`` as values. By default, it is defined to

View file

@ -280,7 +280,7 @@ endif
ENABLE_FEAT_AMU ?= 0 ENABLE_FEAT_AMU ?= 0
ENABLE_AMU_AUXILIARY_COUNTERS ?= 0 ENABLE_AMU_AUXILIARY_COUNTERS ?= 0
ENABLE_AMU_FCONF ?= 0 ENABLE_AMU_FCONF ?= 0
AMU_RESTRICT_COUNTERS ?= 0 AMU_RESTRICT_COUNTERS ?= 1
# Build option to enable MPAM for lower ELs. # Build option to enable MPAM for lower ELs.
# Enabling it by default # Enabling it by default