Skip to content

KVM: arm64: PMU fixes for nVHE, protected mode

Oliver Upton kvmarm stable 1 version Applied

Status from this message: Applied to kvmarm/fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: pkvm: Actually enable/disable PMU events when running vCPUarch/arm64/kvm/hyp/nvhe/hyp-main.c+22 -23 replies
2/3KVM: arm64: Fix host-programmed guest events in nVHEinclude/kvm/arm_pmu.h+1 -11 reply
3/3KVM: arm64: Do not disable preemption in kvm_vcpu_pmu_restore_guest()arch/arm64/kvm/pmu.c+0 -22 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMarc Zyngier
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] KVM: arm64: PMU fixes for nVHE, protected mode

Series to address a couple of issues I've hit using the nVHE / protected mode configuration:

- Host-programmed PMU events that run during guest execution do not work if the VM doesn't have a vPMU.

- PMU events do not work at all for non-protected VMs on the protected-mode hypervisor

Oliver Upton (3):
KVM: arm64: pkvm: Actually enable/disable PMU events when running vCPU
KVM: arm64: Fix host-programmed guest events in nVHE
KVM: arm64: Do not disable preemption in kvm_vcpu_pmu_restore_guest()

 arch/arm64/kvm/hyp/nvhe/hyp-main.c | 24 ++++++++++++++++++++++--
 arch/arm64/kvm/pmu.c               |  2 --
 include/kvm/arm_pmu.h              |  2 +-
 3 files changed, 23 insertions(+), 5 deletions(-)

base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d

Signature · 1 line
2.44.0.278.ge034bb2e1d-goog