arm-trusted-firmware/bl31
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
..
aarch64 Introduce some helper macros for exception vectors 2016-05-26 17:04:39 +01:00
bl31.ld.S Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
bl31.mk Add optional PSCI STAT residency & count functions 2016-06-16 08:55:00 +01:00
bl31_context_mgmt.c Move context management code to common location 2015-12-09 17:41:18 +00:00
bl31_main.c Build option to include AArch32 registers in cpu context 2016-06-03 10:50:52 +01:00
cpu_data_array.c Rework the crash reporting in BL3-1 to use less stack 2014-07-28 11:03:20 +01:00
interrupt_mgmt.c Enable support for EL3 interrupt in IMF 2015-12-09 09:58:17 +00:00
runtime_svc.c Add support for %p in tf_printf() 2016-02-18 09:45:39 +00:00