From mboxrd@z Thu Jan 1 00:00:00 1970 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 301462D7DE4 for ; Wed, 3 Sep 2025 06:46:38 +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=1756882000; cv=none; b=iM1XvsBSy6HXZSd7h/U4iHx5padcJaZ2jzAL4XNoj8hYmZnXwamToLwP9EB6UeCX2rwMgJ07Tnyl4Q1Z4umJ0699408aTHRrNYKNnyAkBNIPPWz4Uu4cLcJqRVhCVeGsB+WeMl84DrFFDZFlS0lNbwIZg6u+UFx9MRX3oqlfPaY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756882000; c=relaxed/simple; bh=1Ai3J0OtNFLrQkIvtX6zHQqcvy0P1Ph7PXPl85zrnb4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fP2OPzGTkd5mc3pfa3b6Zw7JwiYBSiAvY6LRCAXp8/MQqwIVrNY3RPCCGKBBxWTpek0VKu4Q7KhGL6/sZEKKGA4FgrYI/2sUFJRHilpTtrQmzd5fU3UiOD1jhgBIOsBkygiZTpvFwb+koUhXjCLjUNbH1H2OzH6s1K6Xp8p5aFM= 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 1uthG9-00042x-7J; Wed, 03 Sep 2025 08:46:21 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) 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 1uthG7-003W5b-2M; Wed, 03 Sep 2025 08:46:19 +0200 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uthG7-00HVQ8-1u; Wed, 03 Sep 2025 08:46:19 +0200 Date: Wed, 3 Sep 2025 08:46:19 +0200 From: Oleksij Rempel To: Jakub Kicinski Cc: Oleksij Rempel , Hubert =?utf-8?Q?Wi=C5=9Bniewski?= , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , linux-usb@vger.kernel.org, netdev@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [REGRESSION] net: usb: asix: deadlock on interface setup Message-ID: References: <20250902163511.181fa76a@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250902163511.181fa76a@kernel.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain 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 On Tue, Sep 02, 2025 at 04:35:11PM -0700, Jakub Kicinski wrote: > On Sun, 31 Aug 2025 10:50:35 +0200 Hubert Wiśniewski wrote: > > Trying to bring an AX88772B-based USB-Ethernet adapter up results in a > > deadlock if the adapter was suspended at the time. Most network-related > > software hangs up indefinitely as a result. This can happen on systems > > which configure USB power control to 'auto' by default, e.g. laptops > > running `tlp`. > > Oleksij, this seems to date back to commit e0bffe3e6894 ("net: asix: > ax88772: migrate to phylink"). Taking rtnl_lock in runtime resume > callbacks is known to result in unhappiness :( > > Could you check if commit e110bc825897 ("net: usb: > lan78xx: Convert to PHYLINK for improved PHY and MAC management") > isn't similarly flawed? Yes, sorry for delay answer. I'll investigate it at Friday. -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |