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:
committed by
Thomas Gleixner
parent
54b350fa8e
commit
f8112d29ba
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user