[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <875yop21vj.wl-maz@kernel.org>
Date: Mon, 07 Mar 2022 15:55:44 +0000
From: Marc Zyngier <maz@...nel.org>
To: Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Mark Rutland <mark.rutland@....com>,
Hector Martin <marcan@...can.st>,
Sven Peter <sven@...npeter.dev>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
Rob Herring <robh+dt@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Dougall <dougallj@...il.com>, kernel-team@...roid.com
Subject: Re: [PATCH v5 00/10] drivers/perf: CPU PMU driver for Apple M1
On Tue, 08 Feb 2022 18:55:54 +0000,
Marc Zyngier <maz@...nel.org> wrote:
>
> The M1 SoC embeds a per-CPU PMU that has a very different programming
> interface compared to the architected PMUv3 that is normally present
> on standard implementations.
>
> This small series adds a driver for this HW by leveraging the arm_pmu
> infrastructure, resulting in a rather simple driver.
>
> Of course, we know next to nothing about the actual events this PMU
> counts, aside from CPU cycles and instructions. Everything else is
> undocumented (though as Dougall pointed out, someone could extract the
> relevant information from a macOS install if they wanted -- I don't).
> I'm looking at allowing the perf userspace tool to load the event
> descriptions at runtime, which would probably help.
[...]
FWIW, I have created two branches:
- [1] has the full series
- [2] has the irqchip/DT prefix of [1]
Both branches are stable, and I expect [2] to be used as a shared
branch between the irqchip and perf trees.
Thanks,
M.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=hack/m1-pmu
[2] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=irq/aic-pmu
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists