KVM: arm64: nv: Support for EL2 PMU controls
Status from this message: Applied to kvmarm/next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest18 patches 6 repliesApplied
- v317 patches 6 repliesSuperseded
Changes in v4 from the cover letter
- Align sysreg definitions with DDI0601 2024-09
- Fix 'accessible' counter mask construction
- Fix MDCR_EL2.MTPME RES0 logic
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | KVM: arm64: Extend masking facility to arbitrary registersarch/ arch/ arch/ | +24 | 0 replies | |
| 2/18 | arm64: sysreg: Describe ID_AA64DFR2_EL1 fieldsarch/ | +26 | 0 replies | |
| 3/18 | arm64: sysreg: Migrate MDCR_EL2 definition to tablearch/ arch/ | +35 | 0 replies | |
| 4/18 | arm64: sysreg: Add new definitions for ID_AA64DFR0_EL1arch/ | +12 | 0 replies | |
| 5/18 | KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2arch/ arch/ | +38 | 0 replies | |
| 6/18 | KVM: arm64: nv: Allow coarse-grained trap combos to use complex trapsarch/ | +2 | 0 replies | |
| 7/18 | KVM: arm64: nv: Rename BEHAVE_FORWARD_ANYarch/ | +47 | 0 replies | |
| 8/18 | KVM: arm64: nv: Reinject traps that take effect in Host EL0arch/ arch/ | +30 | 3 replies | |
| 9/18 | KVM: arm64: nv: Honor MDCR_EL2.{TPM, TPMCR} in Host EL0arch/ | +4 | 0 replies | |
| 10/18 | KVM: arm64: nv: Describe trap behaviour of MDCR_EL2.HPMNarch/ arch/ include/ | +120 | 1 reply | |
| 11/18 | KVM: arm64: nv: Advertise support for FEAT_HPMN0arch/ | +3 | 0 replies | |
| 12/18 | KVM: arm64: Rename kvm_pmu_valid_counter_mask()arch/ arch/ include/ | +12 | 0 replies | |
| 13/18 | KVM: arm64: nv: Adjust range of accessible PMCs according to HPMNarch/ arch/ include/ | +24 | 0 replies | |
| 14/18 | KVM: arm64: Add helpers to determine if PMC counts at a given ELarch/ | +28 | 0 replies | |
| 15/18 | KVM: arm64: nv: Honor MDCR_EL2.HPMEarch/ | +9 | 0 replies | |
| 16/18 | KVM: arm64: nv: Honor MDCR_EL2.HLParch/ | +5 | 0 replies | |
| 17/18 | KVM: arm64: nv: Apply EL2 event filtering when in hyp contextarch/ | +20 | 0 replies | |
| 18/18 | KVM: arm64: nv: Reprogram PMU events affected by nested transitionarch/ arch/ include/ | +36 | 0 replies |
Reviews trailers per patch
1 of 18 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Joey Gouly | Marc Zyngier |
|---|---|---|
| Series | R-b | |
| 1/18 | R-b | |
| 2/18 | ||
| 3/18 | ||
| 4/18 | ||
| 5/18 | ||
| 6/18 | ||
| 7/18 | ||
| 8/18 | ||
| 9/18 | ||
| 10/18 | ||
| 11/18 | ||
| 12/18 | ||
| 13/18 | ||
| 14/18 | ||
| 15/18 | ||
| 16/18 | ||
| 17/18 | ||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/18] KVM: arm64: nv: Support for EL2 PMU controls
v3 -> v4:
- Align sysreg definitions with DDI0601 2024-09
- Fix 'accessible' counter mask construction
- Fix MDCR_EL2.MTPME RES0 logic
v3: https://lore.kernel.org/kvmarm/[email protected]/
Marc Zyngier (1):
KVM: arm64: Extend masking facility to arbitrary registers
Oliver Upton (17):
arm64: sysreg: Describe ID_AA64DFR2_EL1 fields
arm64: sysreg: Migrate MDCR_EL2 definition to table
arm64: sysreg: Add new definitions for ID_AA64DFR0_EL1
KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2
KVM: arm64: nv: Allow coarse-grained trap combos to use complex traps
KVM: arm64: nv: Rename BEHAVE_FORWARD_ANY
KVM: arm64: nv: Reinject traps that take effect in Host EL0
KVM: arm64: nv: Honor MDCR_EL2.{TPM, TPMCR} in Host EL0
KVM: arm64: nv: Describe trap behaviour of MDCR_EL2.HPMN
KVM: arm64: nv: Advertise support for FEAT_HPMN0
KVM: arm64: Rename kvm_pmu_valid_counter_mask()
KVM: arm64: nv: Adjust range of accessible PMCs according to HPMN
KVM: arm64: Add helpers to determine if PMC counts at a given EL
KVM: arm64: nv: Honor MDCR_EL2.HPME
KVM: arm64: nv: Honor MDCR_EL2.HLP
KVM: arm64: nv: Apply EL2 event filtering when in hyp context
KVM: arm64: nv: Reprogram PMU events affected by nested transition
arch/arm64/include/asm/kvm_arm.h | 29 --- arch/arm64/include/asm/kvm_emulate.h | 5 + arch/arm64/include/asm/kvm_host.h | 21 +- arch/arm64/kvm/emulate-nested.c | 291 ++++++++++++++++----------- arch/arm64/kvm/nested.c | 54 ++++- arch/arm64/kvm/pmu-emul.c | 143 +++++++++++-- arch/arm64/kvm/sys_regs.c | 15 +- arch/arm64/tools/sysreg | 76 ++++++- include/kvm/arm_pmu.h | 18 +- 9 files changed, 465 insertions(+), 187 deletions(-)
base-commit: 8e929cb546ee42c9a61d24fae60605e9e3192354
Signature · 1 line
2.47.0.163.g1226f6d8fa-goog