diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-11-28 03:54:49 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-29 15:11:44 +0100 |
commit | cc91b9481605b1f62f947857231050c747ceda16 (patch) | |
tree | 56656956e4f09af1929ec91059874c274e52a3d0 /drivers/perf/hisilicon | |
parent | perf/amlogic: Remove unused header inclusions of <linux/version.h> (diff) | |
download | linux-cc91b9481605b1f62f947857231050c747ceda16.tar.xz linux-cc91b9481605b1f62f947857231050c747ceda16.zip |
arm64/perf: Replace PMU version number '0' with ID_AA64DFR0_EL1_PMUVer_NI
__armv8pmu_probe_pmu() returns if detected PMU is either not implemented or
implementation defined. 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: 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>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20221128025449.39085-1-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/hisilicon')
0 files changed, 0 insertions, 0 deletions