KVM: arm64: nv: Add EL2 PMU event filtering support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: Add helpers to determine if PMC counts at a given ELarch/ | +28 | 0 replies | |
| 2/3 | KVM: arm64: nv: Honor NSH filter when in hyp contextarch/ | +14 | 0 replies | |
| 3/3 | KVM: arm64: nv: Reprogram PMU events affected by nested transitionarch/ arch/ include/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] KVM: arm64: nv: Add EL2 PMU event filtering support
We allow a nested VM to be configured with a vPMU, although it isn't entirely functional. We do not currently respect the EL2 event filter configuration from the guest hypervisor, which really needs to be applied to EL1 when in a hyp context.
Series to do just that. Tested on Neoverse-V2 which fortunately implements PMUv3 and NV, unlike the fruity stuff I'm typically using...
Oliver Upton (3):
KVM: arm64: Add helpers to determine if PMC counts at a given EL
KVM: arm64: nv: Honor NSH filter when in hyp context
KVM: arm64: nv: Reprogram PMU events affected by nested transition
arch/arm64/kvm/emulate-nested.c | 4 ++ arch/arm64/kvm/pmu-emul.c | 77 ++++++++++++++++++++++++++++----- include/kvm/arm_pmu.h | 3 ++ 3 files changed, 72 insertions(+), 12 deletions(-)
base-commit: 7c626ce4bae1ac14f60076d00eafe71af30450ba
Signature · 1 line
2.46.0.295.g3b9ea8a38a-goog