Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net: sgi: ioc3-eth: IRQ and link timer fixes
@ 2026-11-28 15:49 Imre Kaloz
  2026-11-28 15:49 ` [PATCH net-next v2 1/2] net: sgi: ioc3-eth: request the IRQ in open, not probe Imre Kaloz
  2026-11-28 15:49 ` [PATCH net-next v2 2/2] net: sgi: ioc3-eth: do not wait for the link timer in ioc3_init Imre Kaloz
  0 siblings, 2 replies; 3+ messages in thread
From: Imre Kaloz @ 2026-11-28 15:49 UTC (permalink / raw)
  To: Thomas Bogendoerfer, netdev
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, linux-mips

Two fixes for ioc3-eth: the shared IRQ is requested in probe before
the state its handler uses exists and outlives free_netdev(), and
ioc3_init() waits for the link timer in hardirq context.

v1 was posted for net. Its patch 1 was applied to net-next as
944841b8af49 ("net: sgi: ioc3-eth: set platform drvdata in probe"),
so this version goes to net-next as well.

Tested on an SGI Fuel.

---
Changes in v2:
- Patch 1 replaces v1 patch 2 ("fix IRQ lifetime against netdev
  teardown"): the IRQ is requested in ndo_open and freed in ndo_stop
  instead of being reordered in probe.
- Patch 2 is new, for the link timer wait reported in the review of
  v1 patch 2.
- Both messages say how the bug was reproduced and how the fix was
  tested.

v1: https://lore.kernel.org/r/20261116101934.25910-1-kaloz@kernel.org

Imre Kaloz (2):
  net: sgi: ioc3-eth: request the IRQ in open, not probe
  net: sgi: ioc3-eth: do not wait for the link timer in ioc3_init

 drivers/net/ethernet/sgi/ioc3-eth.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)


base-commit: f89726ffabef1b08c52e6163b7ab94b0d5f15503
-- 
2.47.3


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

end of thread, other threads:[~2026-11-28 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 15:49 [PATCH net-next v2 0/2] net: sgi: ioc3-eth: IRQ and link timer fixes Imre Kaloz
2026-11-28 15:49 ` [PATCH net-next v2 1/2] net: sgi: ioc3-eth: request the IRQ in open, not probe Imre Kaloz
2026-11-28 15:49 ` [PATCH net-next v2 2/2] net: sgi: ioc3-eth: do not wait for the link timer in ioc3_init Imre Kaloz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox