system-arm: AArch64 boot, init CNTFRQ_EL0
authorAdrian Herrera <adrian.herrera@arm.com>
Thu, 5 Dec 2019 15:50:59 +0000 (15:50 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 27 Jan 2020 16:39:23 +0000 (16:39 +0000)
commiteacc7c7e98cd563cc5bc90735867d5a0e86c2947
tree8637194e2871ce8be2807e4abb0fc4aa1a0975dc
parent13083a1c9cdd271d0cb4d8d2eb14161f5fe5fd03
system-arm: AArch64 boot, init CNTFRQ_EL0

CNTFRQ_EL0 should be initialised to a uniform value in all cores present
in the system. Previously, this was only done if EL3 was present,
however architecture states CNTFRQ_EL0 may be written from the highest
EL implemented.
This patch moves this initilization outside of the EL3-only one.

Change-Id: Ibaa197de53d531ba898e5137ba4f46a8c9554699
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24683
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
system/arm/bootloader/arm64/boot.S