Skip to content

Commit f8112d2

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
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
1 parent 54b350f commit f8112d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/perf/arm_spe_pmu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,8 +1259,8 @@ static int arm_spe_pmu_dev_init(struct arm_spe_pmu *spe_pmu)
12591259
return -ENXIO;
12601260

12611261
/* 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);
12641264
if (ret)
12651265
return ret;
12661266

0 commit comments

Comments
 (0)