]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Move CNT*_CTL_EL0 userspace accessors to generic infrastructure
authorMarc Zyngier <maz@kernel.org>
Mon, 29 Sep 2025 16:04:50 +0000 (17:04 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 13 Oct 2025 13:42:40 +0000 (14:42 +0100)
commit09424d5d7d4e8b427ee4a737fb7765103789e08a
tree2bc3b136c31dd631ae46b58feea1d51c669ce644
parent77a0c42eaf03c66936429d190bb2ea1a214bd528
KVM: arm64: Move CNT*_CTL_EL0 userspace accessors to generic infrastructure

Remove the handling of CNT*_CTL_EL0 from guest.c, and move it to
sys_regs.c, using a new TIMER_REG() definition to encapsulate it.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/guest.c
arch/arm64/kvm/sys_regs.c