Centos-kernel-stream-9/include/kvm
Eric Auger a50c7160ab KVM: arm64: nv: timers: Add a per-timer, per-vcpu offset
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2203922

Being able to set a global offset isn't enough.

With NV, we also need to a per-vcpu, per-timer offset (for example,
CNTVCT_EL0 being offset by CNTVOFF_EL2).

Use a similar method as the VM-wide offset to have a timer point
to the shadow register that contains the offset value.

Reviewed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-17-maz@kernel.org
(cherry picked from commit 1e0eec09d43a55125ff80e40b2d6e2f369a338b9)
Signed-off-by: Eric Auger <eric.auger@redhat.com>
2023-07-03 11:15:24 +02:00
..
arm_arch_timer.h KVM: arm64: nv: timers: Add a per-timer, per-vcpu offset 2023-07-03 11:15:24 +02:00
arm_hypercalls.h KVM: arm64: Setup a framework for hypercall bitmap firmware registers 2022-10-25 13:39:41 +02:00
arm_pmu.h KVM: arm64: PMU: Implement PMUv3p5 long counter support 2023-05-04 18:26:15 +02:00
arm_psci.h KVM: arm64: Factor out firmware register handling from psci.c 2022-10-25 13:39:41 +02:00
arm_vgic.h KVM: arm64: Add helper vgic_write_guest_lock() 2023-07-03 11:15:17 +02:00
iodev.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 342 2019-06-05 17:37:07 +02:00