diff options
author | Ilkka Koskinen <ilkka@os.amperecomputing.com> | 2023-11-03 03:16:54 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-11-07 14:00:49 +0300 |
commit | 15c7ef7341a2e54cfa12ac502c65d6fd2cce2b62 (patch) | |
tree | 3e0d4accde63b751c36063c8fbeb983ebeb16708 /arch/arm | |
parent | 6eeeb4c7e4b5e03405b335fa7ce340922b7ce089 (diff) | |
download | linux-15c7ef7341a2e54cfa12ac502c65d6fd2cce2b62.tar.xz |
perf: arm_cspmu: Reject events meant for other PMUs
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.
Cc: stable@vger.kernel.org
Fixes: e37dfd65731d ("perf: arm_cspmu: Add support for ARM CoreSight PMU driver")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Besar Wicaksono <bwicaksono@nvidia.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20231103001654.35565-1-ilkka@os.amperecomputing.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions