]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Honor MDCR_EL2.HPME
authorOliver Upton <oliver.upton@linux.dev>
Fri, 25 Oct 2024 18:23:50 +0000 (18:23 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 19:00:40 +0000 (19:00 +0000)
commitfe827f9166622dbe384605b78092c285d5e92b76
tree973d373b5b63124761dfec5d58ad457946f55959
parent9d15f8290a228ccd74a6ca8c082df350009e9e06
KVM: arm64: nv: Honor MDCR_EL2.HPME

When the PMU is configured with split counter ranges, HPME becomes the
enable bit for the counters reserved for EL2.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241025182354.3364124-16-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/pmu-emul.c