Re: [PATCH] x86/pmu_pebs: Initalize and enable PMU interrupt (PMI_VECTOR)
From: Sean Christopherson
Date: Tue Jun 10 2025 - 15:42:49 EST
On Thu, 24 Apr 2025 05:22:01 +0000, Dapeng Mi wrote:
> PMU interrupt is not correctly initialized and enabled in pmu_pebs test.
> It leads to the APIC_LVTPC mask bit is never cleared after first PMI and
> all subsequential PEBS PMIs are suppressed.
>
> Although it doesn't impact pmu_pebs test results since current pmu_pebs
> test checks PEBS records by polling instead of PMI driving, it's still an
> incorrect behavior and could cause some unexpected false positives.
>
> [...]
Applied to kvm-x86 next, thanks!
[1/1] x86/pmu_pebs: Initalize and enable PMU interrupt (PMI_VECTOR)
https://github.com/kvm-x86/kvm-unit-tests/commit/389dfda487f9
--
https://github.com/kvm-x86/kvm-unit-tests/tree/next