]> www.infradead.org Git - users/hch/misc.git/commit
KVM: arm64: Move PMUVer filtering into KVM code
authorOliver Upton <oliver.upton@linux.dev>
Wed, 5 Mar 2025 20:26:35 +0000 (12:26 -0800)
committerOliver Upton <oliver.upton@linux.dev>
Tue, 11 Mar 2025 19:54:29 +0000 (12:54 -0700)
commit56290316a443709957f958e4e40bc93e0213bcc3
tree9cbd31e68d74832afb357ca8b0997b69174958a0
parent3d6d9172128ef6219b737d0b05a225f37b0f3ab6
KVM: arm64: Move PMUVer filtering into KVM code

The supported guest PMU version on a particular platform is ultimately a
KVM decision. Move PMUVer filtering into KVM code.

Tested-by: Janne Grunau <j@jannau.net>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250305202641.428114-9-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kvm/pmu-emul.c