Re: [RESEND PATCH 1/2] genirq: export irq_can_set_affinity() for module drivers

From: Thomas Gleixner

Date: Tue May 19 2026 - 10:31:03 EST


eviewed-by: Thomas Gleixner <tglx@xxxxxxxxxx>
On Tue, May 19 2026 at 09:16, Hangtian Zhu wrote:
> Export irq_can_set_affinity() for loadable drivers that need a runtime
> check for IRQ affinity capability.
>
> In hierarchical IRQ setups where the effective irqchip path lacks
> .irq_set_affinity(), drivers may need to switch to a fallback policy.
> Without this export, module drivers cannot use the core helper and have
> to open-code equivalent checks.
>
> Signed-off-by: Hangtian Zhu <hangtian.zhu@xxxxxxxxxxxxxxxx>

Assuming this goes through the wireless tree:

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxx>

If not, please let me know and I pick it up.