diff options
author | Chris Kay <chris.kay@arm.com> | 2021-05-18 18:49:51 +0100 |
---|---|---|
committer | Chris Kay <chris.kay@arm.com> | 2021-10-26 12:15:43 +0100 |
commit | c19a82bef08df58350f1b6668e0604ff8a5bd46d (patch) | |
tree | be449f004db844d7567f5806b4ceaf7c96762841 /plat | |
parent | 68120783d6d6f99c605e9f746ee0e91e2908feb1 (diff) | |
download | arm-trusted-firmware-c19a82bef08df58350f1b6668e0604ff8a5bd46d.tar.gz |
feat(tc): enable MPMM
This change enables MPMM and adds, to the TC firmware configuration
device tree, the AMU counters representing the "gears" for the
Maximum Power Mitigation Mechanism feature of the Cortex-X2,
Cortex-A710 and Cortex-A510:
- Gear 0: throttle medium and high bandwidth vector and viruses.
- Gear 1: throttle high bandwidth vector and viruses.
- Gear 2: throttle power viruses only.
This ensures these counters are enabled and context-switched as
expected.
Change-Id: I6df6e0fe3a5362861aa967a78ab7c34fc4bb8fc3
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/board/tc/platform.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/arm/board/tc/platform.mk b/plat/arm/board/tc/platform.mk index f22cdc050..8765fa2e3 100644 --- a/plat/arm/board/tc/platform.mk +++ b/plat/arm/board/tc/platform.mk @@ -140,6 +140,11 @@ override CTX_INCLUDE_PAUTH_REGS := 1 override ENABLE_SPE_FOR_LOWER_ELS := 0 override ENABLE_AMU := 1 +override ENABLE_AMU_AUXILIARY_COUNTERS := 1 +override ENABLE_AMU_FCONF := 1 + +override ENABLE_MPMM := 1 +override ENABLE_MPMM_FCONF := 1 include plat/arm/common/arm_common.mk include plat/arm/css/common/css_common.mk |