Re: [PATCH v3 0/4] KVM: arm64: Expose PMMIR_EL1.SLOTS to guests

Oliver Upton <[email protected]>
Newsgroups org.kernel.vger.kvm,dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Wed, 22 Jul 2026 20:26:58 +0000, Congkai Tan wrote:
> Today when the perf tool runs in a guest on cores with PMUv3p4, it fails
> to parse the default metrics with "Failure to read '#slots'", since perf
> can only read 0 from sysfs caps/slots, which is backed by PMMIR_EL1.SLOTS
> that KVM traps as RAZ/WI.
> 
> Taking into account backward compatibility and heterogeneous systems, the
> exposure of PMMIR_EL1.SLOTS is gated behind a new vCPU feature flag:
> 
> [...]

Applied to next, thanks!

[1/4] KVM: arm64: Expose PMMIR_EL1.SLOTS under strict PMUv3 UAPI
      https://git.kernel.org/kvmarm/kvmarm/c/453f6ff04b8d
[2/4] KVM: arm64: Advertise STALL_SLOT* in PMCEID1 under strict PMUv3 UAPI
      https://git.kernel.org/kvmarm/kvmarm/c/203b22f76dc3
[3/4] KVM: arm64: Ignore writes to PMCR_EL0.N when using strict UAPI
      https://git.kernel.org/kvmarm/kvmarm/c/bbef6317f97b
[4/4] KVM: arm64: Add KVM_ARM_VCPU_PMU_V3_STRICT vCPU feature
      https://git.kernel.org/kvmarm/kvmarm/c/ad220e275c39

--
Best,
Oliver
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.