]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: Introduce timer_context_to_vcpu() helper
authorMarc Zyngier <maz@kernel.org>
Mon, 29 Sep 2025 16:04:46 +0000 (17:04 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 13 Oct 2025 13:42:40 +0000 (14:42 +0100)
commitaa68975c973ed3b0bd4ff513113495588afb855c
tree52e53a6f05c73a751d82b7e21df633685e652954
parent4cab5c857d1f92b4b322e30349fdc5e2e38e7a2f
KVM: arm64: Introduce timer_context_to_vcpu() helper

We currently have a vcpu pointer nested into each timer context.

As we are about to remove this pointer, introduce a helper (aptly
named timer_context_to_vcpu()) that returns this pointer, at least
until we repaint the data structure.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arch_timer.c
include/kvm/arm_arch_timer.h