[PATCH v4 19/26] perf: arm_spe_pmu: Request specific affinities for percpu IRQ
Jonathan Cameron
jonathan.cameron at huawei.com
Wed Nov 12 10:31:44 PST 2025
On Mon, 20 Oct 2025 13:29:36 +0100
Marc Zyngier <maz at kernel.org> wrote:
> Let the SPE driver request IRQs with an affinity mask matching
> the SPE implementation affinity.
>
> Tested-by: Will Deacon <will at kernel.org>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> ---
> drivers/perf/arm_spe_pmu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/perf/arm_spe_pmu.c b/drivers/perf/arm_spe_pmu.c
> index 1460b02d20e8b..87908f0712c0c 100644
> --- a/drivers/perf/arm_spe_pmu.c
> +++ b/drivers/perf/arm_spe_pmu.c
> @@ -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;
>
More information about the linux-arm-kernel
mailing list