diff options
| author | Marc Zyngier <[email protected]> | 2024-12-17 14:23:10 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-01-02 19:19:09 +0000 |
| commit | 4bad3068cfa9fc38dd767441871e0edab821105b (patch) | |
| tree | e345687e17accab795c9a122af068e32e2ae89c7 /include/kvm/arm_arch_timer.h | |
| parent | KVM: arm64: nv: Add handling of EL2-specific timer registers (diff) | |
| download | kernel-4bad3068cfa9fc38dd767441871e0edab821105b.tar.gz kernel-4bad3068cfa9fc38dd767441871e0edab821105b.zip | |
KVM: arm64: nv: Sync nested timer state with FEAT_NV2
Emulating the timers with FEAT_NV2 is a bit odd, as the timers
can be reconfigured behind our back without the hypervisor even
noticing. In the VHE case, that's an actual regression in the
architecture...
Co-developed-by: Christoffer Dall <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Acked-by: Oliver Upton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
| -rw-r--r-- | include/kvm/arm_arch_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index fd650a8789b9..6e3f6b7ff2b2 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -98,6 +98,7 @@ int __init kvm_timer_hyp_init(bool has_gic); int kvm_timer_enable(struct kvm_vcpu *vcpu); void kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu); void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu); +void kvm_timer_sync_nested(struct kvm_vcpu *vcpu); void kvm_timer_sync_user(struct kvm_vcpu *vcpu); bool kvm_timer_should_notify_user(struct kvm_vcpu *vcpu); void kvm_timer_update_run(struct kvm_vcpu *vcpu); |
