arm-trusted-firmware/services/std_svc/psci
Yatharth Kochar 170fb93dec 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
2016-06-16 08:55:00 +01:00
..
psci_common.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_entry.S PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops 2016-05-25 14:00:00 +01:00
psci_helpers.S PSCI: Rework generic code to conform to coding guidelines 2015-08-13 23:48:07 +01:00
psci_main.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_off.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_on.c Remove unused argument in psci_cpu_on_start() 2016-04-25 12:55:45 +01:00
psci_private.h Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_setup.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_stat.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_suspend.c Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
psci_system_off.c PSCI: Switch to the new PSCI frameworks 2015-08-13 23:47:57 +01:00