]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Add handling of EL2-specific timer registers
authorMarc Zyngier <maz@kernel.org>
Tue, 17 Dec 2024 14:23:09 +0000 (14:23 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 2 Jan 2025 19:19:09 +0000 (19:19 +0000)
commitb59dbb91f7636a89b54ab8fff756afe320ba6549
treeeed79cb7150112e73fd745a65ae878bfbcaf2b53
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
KVM: arm64: nv: Add handling of EL2-specific timer registers

Add the required handling for EL2 and EL02 registers, as
well as EL1 registers used in the E2H context. This includes
handling the virtual timer accesses when CNTHCTL_EL2.EL1TVT
or CNTHCTL_EL2.EL1TVCT are set.

Acked-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241217142321.763801-2-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/sys_regs.c
include/clocksource/arm_arch_timer.h