aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-08-11 15:30:13 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-08-11 15:30:13 +0000
commitb3385aa08ec68d2c80f9b6c35f0cc4102fa14d36 (patch)
treed77c75d7997b3b77cebd84e6b4fbe8704895b592 /docs
parentc6213c7e265e5905f8941a133db40b2c39f4b0a6 (diff)
parentf3ccf036ecb1ae16287817833ebb07a26dcc0230 (diff)
downloadplatform_external_arm-trusted-firmware-b3385aa08ec68d2c80f9b6c35f0cc4102fa14d36.tar.gz
platform_external_arm-trusted-firmware-b3385aa08ec68d2c80f9b6c35f0cc4102fa14d36.tar.bz2
platform_external_arm-trusted-firmware-b3385aa08ec68d2c80f9b6c35f0cc4102fa14d36.zip
Merge "TF-A AMU extension: fix detection of group 1 counters." into integration
Diffstat (limited to 'docs')
-rw-r--r--docs/getting_started/porting-guide.rst11
1 files changed, 2 insertions, 9 deletions
diff --git a/docs/getting_started/porting-guide.rst b/docs/getting_started/porting-guide.rst
index 6b8bbc634..f3316164b 100644
--- a/docs/getting_started/porting-guide.rst
+++ b/docs/getting_started/porting-guide.rst
@@ -562,21 +562,14 @@ behaviour of the ``assert()`` function (for example, to save memory).
doesn't print anything to the console. If ``PLAT_LOG_LEVEL_ASSERT`` isn't
defined, it defaults to ``LOG_LEVEL``.
-If the platform port uses the Activity Monitor Unit, the following constants
+If the platform port uses the Activity Monitor Unit, the following constant
may be defined:
- **PLAT_AMU_GROUP1_COUNTERS_MASK**
This mask reflects the set of group counters that should be enabled. The
maximum number of group 1 counters supported by AMUv1 is 16 so the mask
can be at most 0xffff. If the platform does not define this mask, no group 1
- counters are enabled. If the platform defines this mask, the following
- constant needs to also be defined.
-
-- **PLAT_AMU_GROUP1_NR_COUNTERS**
- This value is used to allocate an array to save and restore the counters
- specified by ``PLAT_AMU_GROUP1_COUNTERS_MASK`` on CPU suspend.
- This value should be equal to the highest bit position set in the
- mask, plus 1. The maximum number of group 1 counters in AMUv1 is 16.
+ counters are enabled.
File : plat_macros.S [mandatory]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~