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

Marc Zyngier
2025-11-13T13:39:55Z

On Wed, 12 Nov 2025 18:27:35 +0000,
Jonathan Cameron <jonathan.cameron@huawei.com> wrote:
>
> 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 :)

I'm leaving this as an exercise for people who enjoy cross-subsystem
patch series!

>
> >
> > 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>

Thanks,

M.

--
Without deviation from the norm, progress is not possible.