Merge tag 'kvm-x86-pmu-6.6-fixes' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 15 Oct 2023 12:24:18 +0000 (08:24 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 15 Oct 2023 12:24:18 +0000 (08:24 -0400)
KVM x86/pmu fixes for 6.6:

 - Truncate writes to PMU counters to the counter's width to avoid spurious
   overflows when emulating counter events in software.

 - Set the LVTPC entry mask bit when handling a PMI (to match Intel-defined
   architectural behavior).

 - Treat KVM_REQ_PMI as a wake event instead of queueing host IRQ work to
   kick the guest out of emulated halt.

1  2 
arch/x86/kvm/x86.c

Simple merge