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

Jonathan Cameron
2025-11-12T18:27:39Z

On Mon, 20 Oct 2025 13:29:34 +0100
Marc Zyngier <maz@kernel.org> 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@kernel.org>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>