Skip to content

KVM: arm64: Fixes for PMU overflow state

Oliver Upton kvmarm stable 1 version Applied

Status from this message: Applied to fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow statusarch/arm64/kvm/pmu-emul.c+0 -11 reply
2/2KVM: arm64: Use MDCR_EL2.HPME to evaluate overflow of hyp countersarch/arm64/kvm/pmu-emul.c+43 -154 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

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

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

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: arm64: Fixes for PMU overflow state

Respin of Raghavendra's fix for evaluating PMU overflow [*], with another patch stuck on top for my own blatant disregard of the architecture in the vEL2 bits.

Since I fiddled with this on the M2 these patches are obviously untested due to the lack of PMUv3. I'll give it a spin on supporting hardware before actually applying patches, of course.

[*]: https://lore.kernel.org/kvmarm/[email protected]/

Oliver Upton (1):
KVM: arm64: Use MDCR_EL2.HPME to evaluate overflow of hyp counters

Raghavendra Rao Ananta (1):
KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status

 arch/arm64/kvm/pmu-emul.c | 59 ++++++++++++++++++++++++++++-----------
 1 file changed, 43 insertions(+), 16 deletions(-)

base-commit: 60ad25e14ab5a4e56c8bf7f7d6846eacb9cd53df

Signature · 1 line
2.39.5