Skip to contentSkip to conversation

KVM: x86: AVIC vTPR fix for 6.17

GIT PULL Sean Christopherson 2 participants 2 messages Sep 16, 2025 – Sep 17, 2025 KVM

lore
Share & tools
lore

Sean Christopherson

author reviewer
#0 lore raw

Please grab a single fix for 6.17. The bug has existed for some time, so it's not super critical that it get into 6.17, but it'd be nice to get this on its way to LTS kernels sooner than later. Thanks!

The following changes since commit 42a0305ab114975dbad3fe9efea06976dd62d381:

Merge tag 'kvmarm-fixes-6.17-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2025-08-29 12:57:31 -0400)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-fixes-6.17-rcN

for you to fetch changes up to d02e48830e3fce9701265f6c5a58d9bdaf906a76:

KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active (2025-09-10 12:04:16 -0700)

----------------------------------------------------------------
KVM x86 fix for 6.17-rcN

Sync the vTPR from the local APIC to the VMCB even when AVIC is active, to fix a bug where host updates to the vTPR, e.g. via KVM_SET_LAPIC or emulation of a guest access, effectively get lost and result in interrupt delivery issues in the guest.

----------------------------------------------------------------
Maciej S. Szmigiero (1):
KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active

 arch/x86/kvm/svm/svm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
maintainer
#1 lore raw
Quoted 8 lines · Sean Christopherson

Please grab a single fix for 6.17. The bug has existed for some time, so it's not super critical that it get into 6.17, but it'd be nice to get this on its way to LTS kernels sooner than later. Thanks!

The following changes since commit 42a0305ab114975dbad3fe9efea06976dd62d381:

   Merge tag 'kvmarm-fixes-6.17-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2025-08-29 12:57:31 -0400)
Quoted 7 lines

are available in the Git repository at:

   https://github.com/kvm-x86/linux.git tags/kvm-x86-fixes-6.17-rcN

for you to fetch changes up to d02e48830e3fce9701265f6c5a58d9bdaf906a76:

KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active (2025-09-10 12:04:16 -0700)

Pulled, thanks.

Paolo

Quoted 15 lines

----------------------------------------------------------------
KVM x86 fix for 6.17-rcN

Sync the vTPR from the local APIC to the VMCB even when AVIC is active, to fix a bug where host updates to the vTPR, e.g. via KVM_SET_LAPIC or emulation of a guest access, effectively get lost and result in interrupt delivery issues in the guest.

----------------------------------------------------------------
Maciej S. Szmigiero (1):
KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active

  arch/x86/kvm/svm/svm.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)