kvmarm.lists.cs.columbia.edu archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: arm64: PMU fixes for nVHE, protected mode
@ 2024-03-05 18:48 Oliver Upton
  2024-03-05 18:48 ` [PATCH 1/3] KVM: arm64: pkvm: Actually enable/disable PMU events when running vCPU Oliver Upton
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Oliver Upton @ 2024-03-05 18:48 UTC (permalink / raw)
  To: kvmarm
  Cc: Marc Zyngier, James Morse, Suzuki K Poulose, Zenghui Yu,
	Will Deacon, Oliver Upton

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
-- 
2.44.0.278.ge034bb2e1d-goog


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-26 13:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 18:48 [PATCH 0/3] KVM: arm64: PMU fixes for nVHE, protected mode Oliver Upton
2024-03-05 18:48 ` [PATCH 1/3] KVM: arm64: pkvm: Actually enable/disable PMU events when running vCPU Oliver Upton
2024-03-06 10:06   ` Marc Zyngier
2024-03-06 10:18     ` Oliver Upton
2024-03-06 13:23       ` Fuad Tabba
2024-03-05 18:48 ` [PATCH 2/3] KVM: arm64: Fix host-programmed guest events in nVHE Oliver Upton
2024-03-06  9:59   ` Marc Zyngier
2024-03-05 18:48 ` [PATCH 3/3] KVM: arm64: Do not disable preemption in kvm_vcpu_pmu_restore_guest() Oliver Upton
2024-03-06  9:52   ` Marc Zyngier
2024-03-06  9:54     ` Oliver Upton
2024-03-26 13:44 ` (subset) [PATCH 0/3] KVM: arm64: PMU fixes for nVHE, protected mode Oliver Upton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).