Skip to contentSkip to conversation

KVM/arm64 fixes for 6.3, part #1

GIT PULL Oliver Upton 2 participants 2 messages Mar 11, 2023 – Mar 14, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Paolo,

First shot at sending a pull request to you, please let me know if anything is screwed up :)

A single, important fix for guest timers addressing a bug from the nested virtualization prefix that went in 6.3.

Please pull,

--
Oliver

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.3-1

for you to fetch changes up to 47053904e18282af4525a02e3e0f519f014fc7f9:

KVM: arm64: timers: Convert per-vcpu virtual offset to a global value (2023-03-11 02:00:40 -0800)

----------------------------------------------------------------
KVM/arm64 fixes for 6.3, part #1

A single patch to address a rather annoying bug w.r.t. guest timer offsetting. Effectively the synchronization of timer offsets between vCPUs was broken, leading to inconsistent timer reads within the VM.

----------------------------------------------------------------
Marc Zyngier (1):
KVM: arm64: timers: Convert per-vcpu virtual offset to a global value

 arch/arm64/include/asm/kvm_host.h |  3 +++
 arch/arm64/kvm/arch_timer.c       | 45 +++++++++------------------------------
 arch/arm64/kvm/hypercalls.c       |  2 +-
 include/kvm/arm_arch_timer.h      | 15 +++++++++++++
 4 files changed, 29 insertions(+), 36 deletions(-)
maintainer
#1 lore raw

Pulled, thanks!

Paolo

Quoted 44 lines · Oliver Upton

Hi Paolo,

First shot at sending a pull request to you, please let me know if anything is screwed up :)

A single, important fix for guest timers addressing a bug from the nested virtualization prefix that went in 6.3.

Please pull,

--
Oliver

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.3-1

for you to fetch changes up to 47053904e18282af4525a02e3e0f519f014fc7f9:

KVM: arm64: timers: Convert per-vcpu virtual offset to a global value (2023-03-11 02:00:40 -0800)

----------------------------------------------------------------
KVM/arm64 fixes for 6.3, part #1

A single patch to address a rather annoying bug w.r.t. guest timer offsetting. Effectively the synchronization of timer offsets between vCPUs was broken, leading to inconsistent timer reads within the VM.

----------------------------------------------------------------
Marc Zyngier (1):
KVM: arm64: timers: Convert per-vcpu virtual offset to a global value

 arch/arm64/include/asm/kvm_host.h |  3 +++
 arch/arm64/kvm/arch_timer.c       | 45 +++++++++------------------------------
 arch/arm64/kvm/hypercalls.c       |  2 +-
 include/kvm/arm_arch_timer.h      | 15 +++++++++++++
 4 files changed, 29 insertions(+), 36 deletions(-)