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

Jeff Johnson jeff.johnson at oss.qualcomm.com
Wed May 20 09:00:11 PDT 2026


On 5/19/2026 7:42 PM, Hangtian Zhu wrote:
> 
> 
> On 5/19/2026 22:30, Thomas Gleixner wrote:
>> eviewed-by: Thomas Gleixner <tglx at kernel.org>
>> 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 at oss.qualcomm.com>
>> Assuming this goes through the wireless tree:
> yes, it's wireless tree.
>> Acked-by: Thomas Gleixner <tglx at kernel.org>
>>
>> If not, please let me know and I pick it up.
> 

Technically, it will first go into my ath tree, but yes, I'll pick it up.
Thanks for the Ack!

/jeff



More information about the ath12k mailing list