[PATCH v2 0/3] KVM: arm64: Fixes for timers and pKVM
Mostafa Saleh <[email protected]> Sat, 8 Aug 2026 08:58:21 +0000
| Newsgroups | dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
What started as a small patch ended up as a 3 patch series thanks to Sashiko. First patch from Marc to consolidate the offset calculation, follow up patches fix issues with non-protected VM and timer offset and protected VM running with broken CNTVOFF_EL2. The patches have all the information so I will keep this short. v1: https://lore.kernel.org/all/[email protected]/ Main changes: - Add comment based on Fuad review - Add prefix patches that also fix the non-protected hang properly. Marc Zyngier (1): KVM: arm64: Make timer_get_offset() work in all contexts Mostafa Saleh (2): KVM: arm64: Fix timer offsets for non-protected VMs KVM: arm64: Fix hvhe and broken CNTVOFF_EL2 arch/arm64/kvm/hyp/include/hyp/switch.h | 15 +---------- arch/arm64/kvm/hyp/nvhe/pkvm.c | 14 ++++++++++ arch/arm64/kvm/hyp/nvhe/timer-sr.c | 10 ++++---- include/kvm/arm_arch_timer.h | 34 +++++++++++++++---------- 4 files changed, 41 insertions(+), 32 deletions(-) -- 2.55.0.654.g21b8a5bc05-goog