KVM: arm64: PMU fixes for 6.13
Status from this message: Applied to fixes, 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: arm64: Add unified helper for reprogramming counters by maskarch/ arch/ include/ | +29 | 0 replies | |
| 2/4 | KVM: arm64: Use KVM_REQ_RELOAD_PMU to handle PMCR_EL0.E changearch/ | +6 | 0 replies | |
| 3/4 | KVM: arm64: nv: Reload PMU events upon MDCR_EL2.HPME changearch/ | +21 | 0 replies | |
| 4/4 | KVM: arm64: Only apply PMCR_EL0.P to the guest range of countersarch/ | +8 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc Zyngier |
|---|---|
| Series | R-b |
| 1/4 | |
| 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: arm64: PMU fixes for 6.13
Small set of fixes for PMU, mostly focused on plugging gaps in nested support that I'd missed last time around:
- Don't attempt to enable/disable EL2 counters when PMCR_EL0.E is changed. This is already the case since the enable state of a counter is re-evaluated in kvm_pmu_create_perf_event(), though the handling of PMCR_EL0.E would suggest otherwise.
- Enable/disable EL2 counters when MDCR_EL2.HPME is changed.
- Only reset 'guest' counters when PMCR_EL0.P is set, excluding EL2 counters from being reset.
Applies to 6.13-rc3, tested on the M2 w/ my PMUv3 patches thrown on top.
Oliver Upton (4):
KVM: arm64: Add unified helper for reprogramming counters by mask
KVM: arm64: Use KVM_REQ_RELOAD_PMU to handle PMCR_EL0.E change
KVM: arm64: nv: Reload PMU events upon MDCR_EL2.HPME change
KVM: arm64: Only apply PMCR_EL0.P to the guest range of counters
arch/arm64/kvm/pmu-emul.c | 89 +++++++++++++++------------------------ arch/arm64/kvm/sys_regs.c | 32 +++++++++++--- include/kvm/arm_pmu.h | 6 +-- 3 files changed, 62 insertions(+), 65 deletions(-)
base-commit: 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
Signature · 1 line
2.39.5