Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Imre Kaloz <kaloz@kernel.org>
To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>, netdev@vger.kernel.org
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	linux-mips@vger.kernel.org
Subject: [PATCH net-next v2 0/2] net: sgi: ioc3-eth: IRQ and link timer fixes
Date: Sat, 28 Nov 2026 16:49:51 +0100	[thread overview]
Message-ID: <20261128154953.2664-1-kaloz@kernel.org> (raw)

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


             reply	other threads:[~2026-11-28 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 15:49 Imre Kaloz [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128154953.2664-1-kaloz@kernel.org \
    --to=kaloz@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox