netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patchlet] r8169: fix napi_schedule_irqoff() called with irqs enabled warning
@ 2020-10-16 11:26 Mike Galbraith
  2020-10-16 11:34 ` Heiner Kallweit
  0 siblings, 1 reply; 10+ messages in thread
From: Mike Galbraith @ 2020-10-16 11:26 UTC (permalink / raw)
  To: netdev; +Cc: Realtek linux nic maintainers, Heiner Kallweit


When the kernel is built with PREEMPT_RT or booted with threadirqs,
irqs are not disabled when rtl8169_interrupt() is called, inspiring
__raise_softirq_irqoff() to gripe.  Use plain napi_schedule().

Signed-off-by: Mike Galbraith <efault@gmx.de>
---
 drivers/net/ethernet/realtek/r8169_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -4573,7 +4573,7 @@ static irqreturn_t rtl8169_interrupt(int
 	}

 	rtl_irq_disable(tp);
-	napi_schedule_irqoff(&tp->napi);
+	napi_schedule(&tp->napi);
 out:
 	rtl_ack_events(tp, status);



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-17  6:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 11:26 [patchlet] r8169: fix napi_schedule_irqoff() called with irqs enabled warning Mike Galbraith
2020-10-16 11:34 ` Heiner Kallweit
2020-10-16 11:57   ` Mike Galbraith
2020-10-16 14:26   ` Vladimir Oltean
2020-10-16 14:41     ` Heiner Kallweit
2020-10-16 15:40       ` Vladimir Oltean
2020-10-16 17:11     ` Mike Galbraith
2020-10-16 17:19       ` Vladimir Oltean
2020-10-16 19:15       ` Heiner Kallweit
2020-10-17  2:26         ` Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).