diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-07-19 15:39:02 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-08-09 17:57:39 +0100 |
commit | 7f1d642fbb5c356519617c24757a0cbed7f800a8 (patch) | |
tree | c39292f0c8281acbb8483ab4e6e6af0aa95e24e6 /arch/arm64/kernel/probes/kprobes.c | |
parent | a026bb12cc57d758e045126a252e12e868076cb4 (diff) | |
download | op-kernel-dev-7f1d642fbb5c356519617c24757a0cbed7f800a8.zip op-kernel-dev-7f1d642fbb5c356519617c24757a0cbed7f800a8.tar.gz |
drivers/perf: arm-pmu: Fix handling of SPI lacking "interrupt-affinity" property
Patch 19a469a58720 ("drivers/perf: arm-pmu: Handle per-interrupt
affinity mask") added support for partitionned PPI setups, but
inadvertently broke setups using SPIs without the "interrupt-affinity"
property (which is the case for UP platforms).
This patch restore the broken functionnality by testing whether the
interrupt is percpu or not instead of relying on the using_spi flag
that really means "SPI *and* interrupt-affinity property".
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 19a469a58720 ("drivers/perf: arm-pmu: Handle per-interrupt affinity mask")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/probes/kprobes.c')
0 files changed, 0 insertions, 0 deletions