diff options
author | 2022-11-28 19:26:29 +0530 | |
---|---|---|
committer | 2022-11-28 14:04:08 +0000 | |
commit | 86815735aa571d493cf5768cad5fa8e6fd9c7ba8 (patch) | |
tree | 6a1777f6833447a09eefeb15f9b471328763ec2e /tools/perf/scripts/python | |
parent | KVM: arm64: PMU: Make kvm_pmc the main data structure (diff) | |
download | wireguard-linux-86815735aa571d493cf5768cad5fa8e6fd9c7ba8.tar.xz wireguard-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/scripts/python')
0 files changed, 0 insertions, 0 deletions