Re: [PATCH] perf: arm_cspmu: Reject events meant for other PMUs

From: Ilkka Koskinen
Date: Tue Nov 07 2023 - 17:13:18 EST



Hi Catalin,

On Tue, 7 Nov 2023, Catalin Marinas wrote:
On Thu, 02 Nov 2023 17:16:54 -0700, Ilkka Koskinen wrote:
Coresight PMU driver didn't reject events meant for other PMUs.
This caused some of the Core PMU events disappearing from
the output of "perf list". In addition, trying to run e.g.

$ perf stat -e r2 sleep 1

made Coresight PMU driver to handle the event instead of letting
Core PMU driver to deal with it.

[...]

Applied to arm64 (for-next/core), thanks!

Just wanted to ask if you are planning to submit this patch for 6.7-rcX as a fix? We have found out that one can even crash AmpereOne by running
"perf stat -C 1 sleep 1" without the patch.

Cheers, Ilkka


[1/1] perf: arm_cspmu: Reject events meant for other PMUs
https://git.kernel.org/arm64/c/15c7ef7341a2

--
Catalin