Re: [PATCH v7 09/21] drivers/perf: apple_m1: Add Apple A8/A8X support

From: Ivaylo Ivanov
Date: Sun Jun 01 2025 - 14:55:21 EST


On 5/10/25 18:10, Nick Chan wrote:
> Add support for the CPU PMU found on the Apple A8, A8X SoCs.
>
> Signed-off-by: Nick Chan <towinchenmi@xxxxxxxxx>
> ---

Tested-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx>

> drivers/perf/apple_m1_cpu_pmu.c | 124 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 124 insertions(+)
>
...
> +
> static int m1_pmu_ice_init(struct arm_pmu *cpu_pmu)
> {
> cpu_pmu->name = "apple_icestorm_pmu";
> @@ -912,6 +1035,7 @@ static const struct of_device_id m1_pmu_of_device_ids[] = {
> { .compatible = "apple,blizzard-pmu", .data = m2_pmu_blizzard_init, },
> { .compatible = "apple,icestorm-pmu", .data = m1_pmu_ice_init, },
> { .compatible = "apple,firestorm-pmu", .data = m1_pmu_fire_init, },
> + { .compatible = "apple,typhoon-pmu", .data = a8_pmu_typhoon_init, },
> { .compatible = "apple,cyclone-pmu", .data = a7_pmu_cyclone_init, },
> { },
> };
>