[PATCH 00/10] drivers/perf: apple_m1: Add Apple A7-A11, T2 SoC support
Nick Chan
towinchenmi at gmail.com
Tue Feb 11 08:07:21 PST 2025
This series adds support for the CPU PMU in the older Apple A7-A11, T2
SoCs. These PMUs may have a different event layout, less counters, or
deliver their interrupts via IRQ instead of a FIQ. Since some of those
older SoCs support 32-bit EL0, counting for 32-bit EL0 also need to
be enabled by the driver where applicable.
Patch 1 adds the DT bindings.
Patch 2-5 prepares the driver to allow adding support for those
older SoCs.
Patch 6-10 adds support for the older SoCs.
Signed-off-by: Nick Chan <towinchenmi at gmail.com>
---
Nick Chan (10):
dt-bindings: arm: pmu: Add Apple A7-A11 SoC CPU PMU compatibles
drivers/perf: apple_m1: Support per-implementation event tables
drivers/perf: apple_m1: Support a per-implementation number of counters
drivers/perf: apple_m1: Support configuring counters for 32-bit EL0
drivers/perf: apple_m1: Support per-implementation PMU start
drivers/perf: apple_m1: Add Apple A7 support
drivers/perf: apple_m1: Add Apple A8/A8X support
drivers/perf: apple_m1: Add A9/A9X support
drivers/perf: apple_m1: Add Apple A10/A10X/T2 Support
drivers/perf: apple_m1: Add Apple A11 Support
Documentation/devicetree/bindings/arm/pmu.yaml | 6 +
arch/arm64/include/asm/apple_m1_pmu.h | 2 +
drivers/perf/apple_m1_cpu_pmu.c | 776 ++++++++++++++++++++++++-
3 files changed, 752 insertions(+), 32 deletions(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250211-apple-cpmu-5a5a3da39483
Best regards,
--
Nick Chan <towinchenmi at gmail.com>
More information about the linux-arm-kernel
mailing list