mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-25 02:39:42 +00:00
e290a8fcbc
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> |
||
---|---|---|
.. | ||
aarch32 | ||
aarch64 | ||
tbbr | ||
bl1_fwu.c | ||
bl1_main.c | ||
bl1_private.h | ||
bl1.ld.S | ||
bl1.mk |