Re: [PATCH v4 17/26] genirq: Add request_percpu_irq_affinity() helper

From: Jonathan Cameron

Date: Wed Nov 12 2025 - 13:27:39 EST


On Mon, 20 Oct 2025 13:29:34 +0100
Marc Zyngier <maz@xxxxxxxxxx> wrote:

> While it would be nice to simply make request_percpu_irq() take
> an affinity mask, the churn is likely to be on the irritating side
> given that most drivers do not give a damn about affinities.

Only 37 instances. I'd have been tempted to do it anyway :)

>
> So take the more innocuous path to provide a helper that parallels
> request_percpu_irq(), with an affinity as a bonus argument.
>
> Yes, request_percpu_irq_affinity() is a bit of a mouthful.
>
> Tested-by: Will Deacon <will@xxxxxxxxxx>
> Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>