diff options
author | David Cunado <david.cunado@arm.com> | 2016-11-25 00:21:59 +0000 |
---|---|---|
committer | David Cunado <david.cunado@arm.com> | 2016-12-01 16:17:39 +0000 |
commit | 939f66d6c46a8fe8cac708ac8e52afea3ff7a095 (patch) | |
tree | d010e8a900815c111ae190e9b9826e1f25764965 /drivers/arm/ccn/ccn.c | |
parent | c59428b1502f37c9b2f551613da1b491c4226d10 (diff) |
Reset EL2 and EL3 configurable controls
This patch resets EL2 and EL3 registers that have architecturally
UNKNOWN values on reset and that also provide EL2/EL3 configuration
and trap controls.
Specifically, the EL2 physical timer is disabled to prevent timer
interrups into EL2 - CNTHP_CTL_EL2 and CNTHP_CTL for AArch64 and AArch32,
respectively.
Additionally, for AArch64, HSTR_EL2 is reset to avoid unexpected traps of
non-secure access to certain system registers at EL1 or lower.
For AArch32, the patch also reverts the reset to SDCR which was
incorrectly added in a previous change.
Change-Id: If00eaa23afa7dd36a922265194ccd6223187414f
Signed-off-by: David Cunado <david.cunado@arm.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions