On 2024/9/9 22:39, Kalle Valo wrote:
> Jinjie Ruan writes:
>
>> As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
>> said, reqeust_irq() and then disable_irq() is unsafe.
>>
>> And the code below is subobtimal:
>> irq_set_status_flags(irq, IRQ_NOAUTOEN);
>>
Jinjie Ruan writes:
> As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
> said, reqeust_irq() and then disable_irq() is unsafe.
>
> And the code below is subobtimal:
>irq_set_status_flags(irq, IRQ_NOAUTOEN);
>request_irq(dev, irq...);
>
> IRQF_NO_AUTOEN f
As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
said, reqeust_irq() and then disable_irq() is unsafe.
And the code below is subobtimal:
irq_set_status_flags(irq, IRQ_NOAUTOEN);
request_irq(dev, irq...);
IRQF_NO_AUTOEN flag can be used by drivers to re
3 matches
Mail list logo