summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2022-11-28 19:26:29 +0530
committerMarc Zyngier <maz@kernel.org>2022-11-28 14:04:08 +0000
commit86815735aa571d493cf5768cad5fa8e6fd9c7ba8 (patch)
tree6a1777f6833447a09eefeb15f9b471328763ec2e /tools/perf/util/scripting-engines/trace-event-perl.c
parentd56bdce586e7fabd2b3339f476e0e4c059b24e19 (diff)
downloadlinux-86815735aa571d493cf5768cad5fa8e6fd9c7ba8.tar.gz
linux-86815735aa571d493cf5768cad5fa8e6fd9c7ba8.tar.bz2
linux-86815735aa571d493cf5768cad5fa8e6fd9c7ba8.zip
KVM: arm64: PMU: Replace version number '0' with ID_AA64DFR0_EL1_PMUVer_NI
kvm_host_pmu_init() returns when detected PMU is either not implemented, or implementation defined. kvm_pmu_probe_armpmu() also has a similar situation. Extracted ID_AA64DFR0_EL1_PMUVer value, when PMU is not implemented is '0', which can be replaced with ID_AA64DFR0_EL1_PMUVer_NI defined as '0b0000'. Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: linux-perf-users@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221128135629.118346-1-anshuman.khandual@arm.com
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions