Re: [PATCH 0/3] arm64: perf: add support for Cortex-A55/A75/A76

From: Will Deacon
Date: Fri Jul 03 2020 - 08:33:54 EST


On Fri, Jun 19, 2020 at 06:44:37PM +0800, Jisheng Zhang wrote:
> The Cortex-A55/A75/A76 use some implementation defined perf events.
> Add the support.
>
> Jisheng Zhang (3):
> arm64: perf: add support for Cortex-A55
> arm64: perf: add support for Cortex-A75
> arm64: perf: add support for Cortex-A76
>
> arch/arm64/kernel/perf_event.c | 49 +++++++++++++++++++++++++++++++---
> 1 file changed, 45 insertions(+), 4 deletions(-)

Do we really need this? I'd prefer for this stuff to live in userspace
now that the perf tool has supported JSON event descriptions for a while,
and the in-kernel driver advertises the architected events advertised
by PMCEID*.

Will