Commit 2c8b3d39 authored by Marc Zyngier's avatar Marc Zyngier Committed by huangfangrun
Browse files

KVM: arm64: Use symbolic names for the PMU versions

mainline inclusion
from mainline-v5.12-rc1
commit 8e26d11f
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I6OMSU
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e26d11f680a323f7e1073038c454df39307dfad



----------------------------------------------------------------------

Instead of using a bunch of magic numbers, use the existing definitions
that have been added since 8673e02e ("arm64: perf: Add support
for ARMv8.5-PMU 64-bit counters")

Reviewed-by: default avatarAlexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarhuangfangrun <huangfangrun1@h-partners.com>
parent 153d1a86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment