From nobody Wed Oct 8 08:32:40 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7C401EC006 for ; Tue, 1 Jul 2025 12:21:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751372520; cv=none; b=JQD0k+q8hJQ51ARF0OoYeEQjv60R9e9BsHjHSKkzd5v3eYS4PqkC4eqfpu1z/JsNqctd35KlhGZE7QuXPrtMhnZ7iUR0ijiiD8vwU8CEqpo45EWRRGQkMi/Qc9hpw9XqNuaOmNUrq1mgFI5An5q6n0P7Lho5rEzkWsuX5qXtjCQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751372520; c=relaxed/simple; bh=GVxzOmbuteW1CLn6leGWX8qffFDbE9Jux5PfpkbHWh8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nTZhcCQDj7dVQoXhkQ1UEJo1hp66k1MOL8j0m2AcqYT1Ep4EtTazSlxu16f4omWurlH+Zgn1/A8lCboGJQbuMKd8Pb0F4q2xtN8cDLOFmwIHGNfkGKOQlFdcSbJEikK9sJRLHuojlCLPVvj1iTBFPfCmtB1fGnMAtmhJRx5ORuU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uWZzh-0007K4-6O; Tue, 01 Jul 2025 14:21:49 +0200 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uWZzf-006GdH-2U; Tue, 01 Jul 2025 14:21:47 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uWZzf-0009Gw-2C; Tue, 01 Jul 2025 14:21:47 +0200 From: Oleksij Rempel To: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Oleksij Rempel , Lukas Wunner , kernel@pengutronix.de, linux-kernel@vger.kernel.org, Russell King , netdev@vger.kernel.org, Andre Edich Subject: [PATCH net v1 4/4] net: phy: smsc: Disable IRQ support to prevent link state corruption Date: Tue, 1 Jul 2025 14:21:46 +0200 Message-Id: <20250701122146.35579-5-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250701122146.35579-1-o.rempel@pengutronix.de> References: <20250701122146.35579-1-o.rempel@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 drive= r to avoid polling") Signed-off-by: Oleksij Rempel Cc: Lukas Wunner --- 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[] =3D { .soft_reset =3D smsc_phy_reset, .config_aneg =3D lan87xx_config_aneg, =20 - /* IRQ related */ - .config_intr =3D smsc_phy_config_intr, - .handle_interrupt =3D smsc_phy_handle_interrupt, - /* Statistics */ .get_sset_count =3D smsc_get_sset_count, .get_strings =3D smsc_get_strings, --=20 2.39.5