KVM: x86/pmu: Clean up arch/hw event handling
Status from this message: Applied to kvm-x86 pmu, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: x86/pmu: Use enums instead of hardcoded magic for arch event indicesarch/ | +43 | 1 reply | |
| 2/4 | KVM: x86/pmu: Simplify intel_hw_event_available()arch/ | +6 | 0 replies | |
| 3/4 | KVM: x86/pmu: Require nr fixed_pmc_events to match nr max fixed countersarch/ | +9 | 0 replies | |
| 4/4 | KVM: x86/pmu: Move .hw_event_available() check out of PMC filter helperarch/ | +1 | 2 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Like Xu |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] KVM: x86/pmu: Clean up arch/hw event handling
Clean up KVM's handling of arch/hw events, and the related fixed counter usage. KVM has far too many open coded magic numbers, and kludgy code that stems from the magic numbers.
Sean Christopherson (4):
KVM: x86/pmu: Use enums instead of hardcoded magic for arch event
indices
KVM: x86/pmu: Simplify intel_hw_event_available()
KVM: x86/pmu: Require nr fixed_pmc_events to match nr max fixed
counters
KVM: x86/pmu: Move .hw_event_available() check out of PMC filter
helper
arch/x86/kvm/pmu.c | 4 +- arch/x86/kvm/vmx/pmu_intel.c | 81 ++++++++++++++++++++++++------------ 2 files changed, 56 insertions(+), 29 deletions(-)
base-commit: 31b4fc3bc64aadd660c5bfa5178c86a7ba61e0f7
Signature · 1 line
2.41.0.162.gfafddb0af9-goog