diff options
author | Soby Mathew <soby.mathew@arm.com> | 2016-05-23 16:07:53 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2016-06-16 08:55:00 +0100 |
commit | d75f2578bb01937eca71e202643d5efb3453b283 (patch) | |
tree | 46404880d1b8a07a2cf436e5c8370872a30b0613 /plat/arm/common | |
parent | 170fb93dec97568eec426148019b1670c0b17e7d (diff) | |
download | arm-trusted-firmware-d75f2578bb01937eca71e202643d5efb3453b283.tar.gz |
Enable PSCI_STAT_COUNT/RESIDENCY for ARM standard platforms
This patch enables optional PSCI functions `PSCI_STAT_COUNT` and
`PSCI_STAT_RESIDENCY` for ARM standard platforms. The optional platform
API 'translate_power_state_by_mpidr()' is implemented for the Juno
platform. 'validate_power_state()' on Juno downgrades PSCI CPU_SUSPEND
requests for the system power level to the cluster power level.
Hence, it is not suitable for validating the 'power_state' parameter
passed in a PSCI_STAT_COUNT/RESIDENCY call.
Change-Id: I9548322676fa468d22912392f2325c2a9f96e4d2
Diffstat (limited to 'plat/arm/common')
-rw-r--r-- | plat/arm/common/arm_common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/arm/common/arm_common.mk b/plat/arm/common/arm_common.mk index 0b288617..bcb3f6f6 100644 --- a/plat/arm/common/arm_common.mk +++ b/plat/arm/common/arm_common.mk @@ -82,6 +82,9 @@ ARM_BL31_IN_DRAM := 0 $(eval $(call assert_boolean,ARM_BL31_IN_DRAM)) $(eval $(call add_define,ARM_BL31_IN_DRAM)) +# Enable PSCI_STAT_COUNT/RESIDENCY APIs on ARM platforms +ENABLE_PSCI_STAT = 1 + PLAT_INCLUDES += -Iinclude/common/tbbr \ -Iinclude/plat/arm/common \ -Iinclude/plat/arm/common/aarch64 |