KVM: x86/pmu: Fix a fixed PMC event filter bypass bug
Status from this message: Applied to kvm-x86 misc, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: x86/pmu: Use hardware value when reprogramming for FIXED_CTR_CTRL changesarch/ | +9 | 0 replies | |
| 2/2 | KVM: selftests: Add regression test for mediated PMU fixed counter filter bugtools/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: x86/pmu: Fix a fixed PMC event filter bypass bug
Fix a bug reported by Sashiko, where KVM will effectively ignore PMU event filters for fixed counters if FIXED_CTR_CTRL is changing, but enable bits for denied counters are NOT changing.
Sean Christopherson (2):
KVM: x86/pmu: Use hardware value when reprogramming for FIXED_CTR_CTRL
changes
KVM: selftests: Add regression test for mediated PMU fixed counter
filter bug
arch/x86/kvm/vmx/pmu_intel.c | 10 +++++++++- .../testing/selftests/kvm/x86/pmu_event_filter_test.c | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-)
base-commit: d4bfaa66fa171089b9b9fb2dc17af9245f2b9b34
Signature · 1 line
2.54.0.1032.g2f8565e1d1-goog