Skip to content

net: sgi: ioc3-eth: IRQ and link timer fixes

Imre Kaloz linux-mips netdev stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: sgi: ioc3-eth: request the IRQ in open, not probedrivers/net/ethernet/sgi/ioc3-eth.c+11 -70 replies
2/2net: sgi: ioc3-eth: do not wait for the link timer in ioc3_initdrivers/net/ethernet/sgi/ioc3-eth.c+1 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: sgi: ioc3-eth: IRQ and link timer fixes

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/[email protected]

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

Signature · 1 line
2.47.3