Re: [PATCH 3/7] nfp: Use IRQF_NO_AUTOEN flag in request_irq()

From: Louis Peens
Date: Tue Sep 10 2024 - 05:53:51 EST


On Mon, Sep 09, 2024 at 09:30:30PM +0800, Jinjie Ruan wrote:
> [Some people who received this message don't often get email from ruanjinjie@xxxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> disable_irq() after request_irq() still has a time gap in which
> interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will
> disable IRQ auto-enable when request IRQ.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
> ---
> drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
Hi, thanks for propagating this. For the nfp driver:

Signed-off-by: Louis Peens <louis.peens@xxxxxxxxxxxx>