From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bmailout3.hostsharing.net (bmailout3.hostsharing.net [176.9.242.62]) (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 CB1A518D656; Wed, 17 Sep 2025 18:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=176.9.242.62 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758135509; cv=none; b=XM4J2JizVMGOb8/y3y2UCWxbnnDwYrYlwftO4Tq6gSzGy1TCigfjtIk3XJKdwJqv6KX6FUVBqMxTQ3OjaH5N68/YVarIwCt3HmlRTuQgJ39laejPm0vRVINIrZhBt8iKv0V3C/se/C3QQqD8yk4WRD3oklYOTSToRldga5PqMB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758135509; c=relaxed/simple; bh=UJV1axYFUWahAo/wlw4bcjdRchM59PcQ4RAHtgD9ZE0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iNNBctYGQ13fkxzEFK9AL44uhkC3t/xHpWviJMhi72NdY1YdG2MF7uBQv44+m8GbKvHQqY7Q3Kl4O/LKSpZwxINLkfe/L5JFBuzRrQO+paYPRdFLyog3DiPrvpcjtTLNRTuoHCvhSJzvzAgnfmniQxysbB52OBv+7R583c5QFz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=176.9.242.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id ADCA32C0163F; Wed, 17 Sep 2025 20:58:17 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 7CE07149290; Wed, 17 Sep 2025 20:58:17 +0200 (CEST) Date: Wed, 17 Sep 2025 20:58:17 +0200 From: Lukas Wunner To: Oleksij Rempel Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Hubert Wi??niewski , Marek Szyprowski , stable@vger.kernel.org, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Russell King , Xu Yang , linux-usb@vger.kernel.org Subject: Re: [PATCH net v1 1/1] net: usb: asix: forbid runtime PM to avoid PM/MDIO + RTNL deadlock Message-ID: References: <20250917095457.2103318-1-o.rempel@pengutronix.de> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250917095457.2103318-1-o.rempel@pengutronix.de> On Wed, Sep 17, 2025 at 11:54:57AM +0200, Oleksij Rempel wrote: > Forbid USB runtime PM (autosuspend) for AX88772* in bind. [...] > With autosuspend active, resume paths may require calling phylink/phylib > (caller must hold RTNL) and doing MDIO I/O. Taking RTNL from a USB PM > resume can deadlock (RTNL may already be held), and MDIO can attempt a > runtime-wake while the USB PM lock is held. FWIW, for smsc95xx.c, the MDIO deadlock issue was resolved by commit 7b960c967f2a ("usbnet: smsc95xx: Fix deadlock on runtime resume"). I would assume that something similar would be possible for asix_devices.c as well. Thanks, Lukas