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
This commit is contained in:
Marc Zyngier
2025-10-20 13:29:36 +01:00
committed by Thomas Gleixner
parent 54b350fa8e
commit f8112d29ba

View File

@@ -1259,8 +1259,8 @@ static int arm_spe_pmu_dev_init(struct arm_spe_pmu *spe_pmu)
return -ENXIO;
/* Request our PPIs (note that the IRQ is still disabled) */
ret = request_percpu_irq(spe_pmu->irq, arm_spe_pmu_irq_handler, DRVNAME,
spe_pmu->handle);
ret = request_percpu_irq_affinity(spe_pmu->irq, arm_spe_pmu_irq_handler,
DRVNAME, mask, spe_pmu->handle);
if (ret)
return ret;