]> git.dujemihanovic.xyz Git - linux.git/commit
perf: arm_cspmu: Set irq affinitiy only if overflow interrupt is used
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Thu, 8 Jun 2023 20:37:42 +0000 (13:37 -0700)
committerWill Deacon <will@kernel.org>
Fri, 9 Jun 2023 10:25:56 +0000 (11:25 +0100)
commit225d757012e0afa673d8c862e6fb39ed2f429b4d
tree49453f6cf782f6875bd5b476a30daf2edaab1370
parent7a6a9f1c5a0a875a421db798d4b2ee022dc1ee1a
perf: arm_cspmu: Set irq affinitiy only if overflow interrupt is used

Don't try to set irq affinity if PMU doesn't have an overflow interrupt.

Fixes: e37dfd65731d ("perf: arm_cspmu: Add support for ARM CoreSight PMU driver")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230608203742.3503486-1-ilkka@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_cspmu/arm_cspmu.c