switch-l4t-atf/lib
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 Exit early if size zero for cache helpers 2017-06-21 17:46:28 +01:00
aarch64 Introduce functions to disable the MMU in EL1 2017-10-17 12:02:37 +01:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
cpus Cortex-A72: Implement workaround for erratum 859971 2017-09-07 14:22:02 +01:00
el3_runtime aarch64: Add PubSub events to capture security state transitions 2017-10-31 10:33:27 +00:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Add macro to test for minimum architecture version 2017-08-24 17:23:43 +01:00
optee Add Trusted OS extra image parsing support for ARM standard platforms 2017-08-09 18:06:05 +08:00
pmf Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
psci Fix PSCI STAT time stamp collection 2017-11-03 13:27:34 +00:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib Use standard UNIX file:line format in assert 2017-07-19 05:57:40 +01:00
utils Add mem_region utility functions 2017-09-25 13:32:20 +01:00
xlat_tables Set TCR_EL1.EPD1 bit to 1 2017-09-21 11:57:11 +01:00
xlat_tables_v2 xlat: Introduce API to change memory attributes of a region 2017-10-17 12:02:36 +01:00