drivers/perf: apple_m1: Add Apple M2 support
authorJanne Grunau <j@jannau.net>
Tue, 14 Feb 2023 10:38:02 +0000 (11:38 +0100)
committerWill Deacon <will@kernel.org>
Mon, 27 Mar 2023 14:15:14 +0000 (15:15 +0100)
commit7d0bfb7c997753ef88f4c3a29f3409c8cb052ab1
tree6edeeb10cf60964e8a9c98eefbd27eac7d18a1f3
parent640a3b7a3d138cb2467b75a6830144fac1c26a81
drivers/perf: apple_m1: Add Apple M2 support

The PMU itself is compatible with the one found on M1. We still know
next to nothing about the counters so keep using CPU uarch specific
compatibles/PMU names.

Signed-off-by: Janne Grunau <j@jannau.net>
Acked-by: Mark Rutland <mark.rutland@arm.com.
Reviewed-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20230214-apple_m2_pmu-v1-2-9c9213ab9b63@jannau.net
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/apple_m1_cpu_pmu.c