Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf: arm_spe_pmu: Request specific affinities for per CPU interrupts

Let the SPE driver request interrupts with an affinity mask matching the SPE
implementation affinity.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20251020122944.3074811-20-maz@kernel.org

authored by

Marc Zyngier and committed by
Thomas Gleixner
f8112d29 54b350fa

+2 -2
+2 -2
drivers/perf/arm_spe_pmu.c
··· 1259 1259 return -ENXIO; 1260 1260 1261 1261 /* Request our PPIs (note that the IRQ is still disabled) */ 1262 - ret = request_percpu_irq(spe_pmu->irq, arm_spe_pmu_irq_handler, DRVNAME, 1263 - spe_pmu->handle); 1262 + ret = request_percpu_irq_affinity(spe_pmu->irq, arm_spe_pmu_irq_handler, 1263 + DRVNAME, mask, spe_pmu->handle); 1264 1264 if (ret) 1265 1265 return ret; 1266 1266