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

From: Hangtian Zhu

Date: Tue May 19 2026 - 22:44:13 EST




On 5/19/2026 22:30, Thomas Gleixner wrote:
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:
yes, it's wireless tree.
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxx>

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