]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge tag 'kvm-x86-pmu-6.8' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Jan 2024 13:10:08 +0000 (08:10 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Jan 2024 13:10:08 +0000 (08:10 -0500)
commit01edb1cfbdb984ebe7b490cce544e908c402e859
tree009ffd0c9e2645a61773c90b4a36d9ebc44a767e
parent33d0403fdad8f4f6a1ccf552bdc31a0170f665b8
parentfd89499a5151d197ba30f7b801f6d8f4646cf446
Merge tag 'kvm-x86-pmu-6.8' of https://github.com/kvm-x86/linux into HEAD

KVM x86 PMU changes for 6.8:

 - Fix a variety of bugs where KVM fail to stop/reset counters and other state
   prior to refreshing the vPMU model.

 - Fix a double-overflow PMU bug by tracking emulated counter events using a
   dedicated field instead of snapshotting the "previous" counter.  If the
   hardware PMC count triggers overflow that is recognized in the same VM-Exit
   that KVM manually bumps an event count, KVM would pend PMIs for both the
   hardware-triggered overflow and for KVM-triggered overflow.
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c