summaryrefslogtreecommitdiff
path: root/docs/firmware-design.md
diff options
context:
space:
mode:
authorYatharth Kochar <yatharth.kochar@arm.com>2016-05-09 18:26:35 +0100
committerSoby Mathew <soby.mathew@arm.com>2016-06-16 08:55:00 +0100
commit170fb93dec97568eec426148019b1670c0b17e7d (patch)
tree456974555d3eb0b9a704198235884b9dd2314545 /docs/firmware-design.md
parenta31d8983f42153b0448103bdd47e1f4c9c093765 (diff)
Add optional PSCI STAT residency & count functions
This patch adds following optional PSCI STAT functions: - PSCI_STAT_RESIDENCY: This call returns the amount of time spent in power_state in microseconds, by the node represented by the `target_cpu` and the highest level of `power_state`. - PSCI_STAT_COUNT: This call returns the number of times a `power_state` has been used by the node represented by the `target_cpu` and the highest power level of `power_state`. These APIs provides residency statistics for power states that has been used by the platform. They are implemented according to v1.0 of the PSCI specification. By default this optional feature is disabled in the PSCI implementation. To enable it, set the boolean flag `ENABLE_PSCI_STAT` to 1. This also sets `ENABLE_PMF` to 1. Change-Id: Ie62e9d37d6d416ccb1813acd7f616d1ddd3e8aff
Diffstat (limited to 'docs/firmware-design.md')
-rw-r--r--docs/firmware-design.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/firmware-design.md b/docs/firmware-design.md
index 87bdb884..294349d9 100644
--- a/docs/firmware-design.md
+++ b/docs/firmware-design.md
@@ -718,8 +718,8 @@ required support.
|`CPU_HW_STATE` | No | |
|`SYSTEM_SUSPEND` | Yes* | |
|`PSCI_SET_SUSPEND_MODE`| No | |
-|`PSCI_STAT_RESIDENCY` | No | |
-|`PSCI_STAT_COUNT` | No | |
+|`PSCI_STAT_RESIDENCY` | Yes* | |
+|`PSCI_STAT_COUNT` | Yes* | |
*Note : These PSCI APIs require platform power management hooks to be
registered with the generic PSCI code to be supported.