]> Git Repo - linux.git/commit
drivers/perf: arm-pmu: Fix handling of SPI lacking "interrupt-affinity" property
authorMarc Zyngier <[email protected]>
Tue, 19 Jul 2016 14:39:02 +0000 (15:39 +0100)
committerWill Deacon <[email protected]>
Tue, 9 Aug 2016 16:57:39 +0000 (17:57 +0100)
commit7f1d642fbb5c356519617c24757a0cbed7f800a8
treec39292f0c8281acbb8483ab4e6e6af0aa95e24e6
parenta026bb12cc57d758e045126a252e12e868076cb4
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 <[email protected]>
Reported-by: Geert Uytterhoeven <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Fixes: 19a469a58720 ("drivers/perf: arm-pmu: Handle per-interrupt affinity mask")
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
drivers/perf/arm_pmu.c
This page took 0.055868 seconds and 4 git commands to generate.