arm-trusted-firmware/include/lib
Alexei Fedorov e290a8fcbc AArch64: Disable Secure Cycle Counter
This patch fixes an issue when secure world timing information
can be leaked because Secure Cycle Counter is not disabled.
For ARMv8.5 the counter gets disabled by setting MDCR_El3.SCCD
bit on CPU cold/warm boot.
For the earlier architectures PMCR_EL0 register is saved/restored
on secure world entry/exit from/to Non-secure state, and cycle
counting gets disabled by setting PMCR_EL0.DP bit.
'include\aarch64\arch.h' header file was tided up and new
ARMv8.5-PMU related definitions were added.

Change-Id: I6f56db6bc77504634a352388990ad925a69ebbfa
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
2019-08-21 15:43:24 +01:00
..
bl_aux_params Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
cpus Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
el3_runtime AArch64: Disable Secure Cycle Counter 2019-08-21 15:43:24 +01:00
extensions Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
libc Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
libfdt Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
sprt SPM: Introduce SPRT C host library 2018-12-11 15:04:24 +00:00
xlat_tables Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
zlib Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bakery_lock.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
cassert.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
mmio.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
object_pool.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
optee_utils.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
runtime_instr.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
semihosting.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
smccc.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
spinlock.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
utils.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
utils_def.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00