arm-trusted-firmware/plat/common
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 Add platform hooks for boot redundancy support 2017-10-24 14:04:41 +01:00
aarch64 Add platform hooks for boot redundancy support 2017-10-24 14:04:41 +01:00
tbbr cert: move platform_oid.h to include/tools_share for all platforms 2017-05-24 00:08:35 +09:00
plat_bl1_common.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_gic.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
plat_gicv2.c GIC: Add API to set priority mask 2017-10-16 16:50:02 +01:00
plat_gicv3.c GIC: Add API to set priority mask 2017-10-16 16:50:02 +01:00
plat_log_common.c Implement log framework 2017-09-11 15:37:24 +01:00
plat_psci_common.c Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00