]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Repaint pmcr_n into nr_pmu_counters
authorMarc Zyngier <maz@kernel.org>
Fri, 11 Apr 2025 10:54:22 +0000 (11:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 11 Apr 2025 10:54:22 +0000 (11:54 +0100)
commitf12b54d7c24388886277598236b3eeea5c68eec4
tree116cafdcad4964600863d816764de23eeb8f8764
parent0af2f6be1b4281385b618cb86ad946eded089ac8
KVM: arm64: Repaint pmcr_n into nr_pmu_counters

The pmcr_n field obviously refers to PMCR_EL0.N, but is generally used
as the number of counters seen by the guest. Rename it accordingly.

Suggested-by: Oliver upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/pmu-emul.c
arch/arm64/kvm/sys_regs.c