arm-trusted-firmware/lib/psci
Soby Mathew bfc87a8dff Fix PSCI STAT time stamp collection
This patch includes various fixes for PSCI STAT functionality
relating to timestamp collection:

1. The PSCI stat accounting for retention states for higher level
power domains were done outside the locks which could lead to
spurious values in some race conditions. This is moved inside
the locks. Also, the call to start the stat accounting was redundant
which is now removed.

2. The timestamp wrap-around case when calculating residency did
not cater for AArch32. This is now fixed.

3. In the warm boot path, `plat_psci_stat_accounting_stop()` was
getting invoked prior to population of target power states. This
is now corrected.

Change-Id: I851526455304fb74ff0a724f4d5318cd89e19589
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2017-11-03 13:27:34 +00:00
..
aarch32 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
aarch64 Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci_common.c Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00
psci_lib.mk mem_protect: Add mem_protect API 2017-09-25 13:32:20 +01:00
psci_main.c reset2: Add PSCI system_reset2 function 2017-10-13 08:08:22 +01:00
psci_mem_protect.c mem_protect: Add mem_protect API 2017-09-25 13:32:20 +01:00
psci_off.c Reduce time lock in psci_do_cpu_off 2017-09-06 14:48:15 +01:00
psci_on.c PSCI: Publish CPU ON event 2017-10-23 08:15:11 +01:00
psci_private.h mem_protect: Fix PSCI FEATURES API for MEM_PROTECT_CHECK 2017-10-13 12:12:20 +01:00
psci_setup.c reset2: Add PSCI system_reset2 function 2017-10-13 08:08:22 +01:00
psci_stat.c psci: minor fixes in lib 2017-06-22 22:10:32 +02:00
psci_suspend.c Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00
psci_system_off.c reset2: Add PSCI system_reset2 function 2017-10-13 08:08:22 +01:00