[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250701122146.35579-5-o.rempel@pengutronix.de>
Date: Tue, 1 Jul 2025 14:21:46 +0200
From: Oleksij Rempel <o.rempel@...gutronix.de>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>,
Lukas Wunner <lukas@...ner.de>,
kernel@...gutronix.de,
linux-kernel@...r.kernel.org,
Russell King <linux@...linux.org.uk>,
netdev@...r.kernel.org,
Andre Edich <andre.edich@...rochip.com>
Subject: [PATCH net v1 4/4] net: phy: smsc: Disable IRQ support to prevent link state corruption
Disable interrupt handling for the LAN87xx PHY to prevent the network
interface from entering a corrupted state after rapid configuration
changes.
When the link configuration is changed quickly, the PHY can get stuck in
a non-functional state. In this state, 'ethtool' reports that a link is
present, but 'ip link' shows NO-CARRIER, and the interface is unable to
transfer data.
Fixes: 1ce8b37241ed ("usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling")
Signed-off-by: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: Lukas Wunner <lukas@...ner.de>
---
drivers/net/phy/smsc.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index b6489da5cfcd..dac6bf156d15 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -746,10 +746,6 @@ static struct phy_driver smsc_phy_driver[] = {
.soft_reset = smsc_phy_reset,
.config_aneg = lan87xx_config_aneg,
- /* IRQ related */
- .config_intr = smsc_phy_config_intr,
- .handle_interrupt = smsc_phy_handle_interrupt,
-
/* Statistics */
.get_sset_count = smsc_get_sset_count,
.get_strings = smsc_get_strings,
--
2.39.5
Powered by blists - more mailing lists