drivers/perf: arm_pmu: Handle 47 bit counters
authorMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 18:56:03 +0000 (18:56 +0000)
committerWill Deacon <will@kernel.org>
Tue, 8 Mar 2022 13:32:48 +0000 (13:32 +0000)
commit1280f12f56a15abde23503ba876343e5f201c9c2
tree490142c08c420d91ffecf9d5d9d4cfe6783ca1ea
parent47804aab73d85147b9110a8cb025e01f8638e77d
drivers/perf: arm_pmu: Handle 47 bit counters

The current ARM PMU framework can only deal with 32 or 64bit counters.
Teach it about a 47bit flavour.

Yes, this is odd.

Reviewed-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_pmu.c
include/linux/perf/arm_pmu.h