Re: [PATCH 0/7] net: Use IRQF_NO_AUTOEN flag in request_irq()

2024-09-10 Thread Jinjie Ruan
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); >>

Re: [PATCH 0/7] net: Use IRQF_NO_AUTOEN flag in request_irq()

2024-09-09 Thread Kalle Valo
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

[PATCH 0/7] net: Use IRQF_NO_AUTOEN flag in request_irq()

2024-09-09 Thread Jinjie Ruan
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