diff options
author | 2023-06-09 17:21:49 +0100 | |
---|---|---|
committer | 2023-06-12 23:17:23 +0000 | |
commit | 9e7462bbe00d8431694720804a50b8f48d8ed0b0 (patch) | |
tree | 8cf5a26721d1e5ee3bbaa9d7ede909da1c3effd8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: Don't enable VHE for the kernel if OVERRIDE_HVHE is set (diff) | |
download | wireguard-linux-9e7462bbe00d8431694720804a50b8f48d8ed0b0.tar.xz wireguard-linux-9e7462bbe00d8431694720804a50b8f48d8ed0b0.zip |
arm64: Allow EL1 physical timer access when running VHE
To initialise the timer access from EL2 when HCR_EL2.E2H is set,
we must make use the CNTHCTL_EL2 formap used is appropriate.
This amounts to shifting the timer/counter enable bits by 10
to the left.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20230609162200.2024064-7-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions