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

Counters that fall in the hypervisor range (i.e. N >= HPMN) have a
separate control for enabling 64 bit overflow. Take it into account.

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