]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64/perf: Replace '0xf' instances with ID_AA64DFR0_PMUVER_IMP_DEF
authorAnshuman Khandual <anshuman.khandual@arm.com>
Wed, 11 Aug 2021 03:27:07 +0000 (08:57 +0530)
committerWill Deacon <will@kernel.org>
Wed, 11 Aug 2021 10:02:12 +0000 (11:02 +0100)
commitfd264b310579efc14436b2ec86defa5d4c31332e
tree552e355f035bac96bc66d7001e74a96b62d8a11c
parentff1176468d368232b684f75e82563369208bc371
arm64/perf: Replace '0xf' instances with ID_AA64DFR0_PMUVER_IMP_DEF

ID_AA64DFR0_PMUVER_IMP_DEF, indicating an "implementation defined" PMU,
never actually gets used although there are '0xf' instances scattered
all around. Use the symbolic name instead of the raw hex constant.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/1628652427-24695-2-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/perf_event.c