]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf: arm_spe_pmu: Request specific affinities for per CPU interrupts
authorMarc Zyngier <maz@kernel.org>
Mon, 20 Oct 2025 12:29:36 +0000 (13:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Oct 2025 16:16:36 +0000 (17:16 +0100)
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
drivers/perf/arm_spe_pmu.c

index 1460b02d20e8b677eb9a26a22248ea1310f43d4d..87908f0712c0c7d85a78231ba27faac88d747ecc 100644 (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;