From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796355010; b=oxKVqs9dQ+QpfmRca288LQX2lIoh5xr2mGt2s30MNav2HmZ6XVBgm8y9+eVa+Le6A8p9 Yhdgn/0E547KEXtH22RWOxA4mrG+e/1kFzKvqEM7flS7P/qJats9EOvAQcxiRcnTwqLhA 2Jg/30rMTkul5IoCT8r/LoXi3A6JBmp6Jnve2AfLRuQpy/LQbqkQeYq0pqQ8lIFHzszpa XRsVbGt3UfL3gtiucdab+4jIxjcwrYYhhsGnT7/G07tfV93WoLIjsnyCooC8WYVGRN448 IDWyDVd3gSFEMyTaRRJIuQ65L3lGwf6w7ZbJU6VsFArtzPixGC0CfryjO+FcAkMBzGg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355010; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=tdLchS5TFC0hhl3d03mLf4uAzAYsT6CUdNO29SiGnPk=; b=1oI7pZcmOM0SCkIEpniVk+mo33mYTfIT4od+hYltLylMoKIbk6tsovAjA4dYyowz5sFd zVfzBAJwv6sToSxCJMG9+LiZUztuNyK237OUNI5bHKfzmusi+Tp56oTp7PDC3WaukjJch 1qwKxR3CDsGLSaySenRM+5IWUJIMcRzjxBAjh8uChAUDJCNNxoafqXn23umA+v2xIC+mc L+GbuQFgVc6xeY7QF/RWOFLgMZNMMa7swYv5ArzOruDWRx0QQsgD3fIskHiKCbSiPeJec 2zId778aTPEUL3rRwt4Rkjp74Vnf39Sw3LXvFcWjRtnnO0bFU01lN93mmn+jyB9oN5g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pkF112v9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E273606A32D; Fri, 4 Dec 2026 03:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=pkF112v9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4CB51F000CE; Fri, 4 Dec 2026 03:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796355010; bh=tdLchS5TFC0hhl3d03mLf4uAzAYsT6CUdNO29SiGnPk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pkF112v9I48W5a3uuUawFc5am03mD22v+Mk7ybFPO9u/SOt1UcXAoBWp3AnU3ZMTa RboOOYscqT9l4JHZBNxJrYf2sqVHRS2lpO/I8kQ99/PZmHcOcv9ONqw+r7DgaTxEXF Z5OBIis632HtaM1d8e4kv3dYU6GJScjRpuCMniOo= Date: Thu, 3 Dec 2026 22:12:38 +0100 From: Greg Kroah-Hartman To: Krishna Kurapati Cc: Thinh Nguyen , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2] usb: dwc3: qcom: Add support to skip phy management by USB core Message-ID: <2026120323-autopilot-skater-d134@gregkh> References: <20261126-xhci-skip-phy-init-v2-v2-1-004f9c5597e5@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261126-xhci-skip-phy-init-v2-v2-1-004f9c5597e5@oss.qualcomm.com> On Thu, Nov 26, 2026 at 10:05:56PM +0530, Krishna Kurapati wrote: > DWC3 driver does manage phys itself sufficiently for Qualcomm platforms. > If xhci-skip-phy-init is not set, the HCD core does a phy_init and phy_ > exit is done only when roothub is being destroyed. Due to this, during > system suspend in host mode, although phy_exit is done by DWC3 core, the > init_count on phy is never down to zero since HCD core also did an init. > consequently causing phy's exit routine to not be called. Hence, add > support to skip phy management by USB core. > > Some Exynos platforms still do rely on USB core for phy_calibrate calls, > hence disable USB core management for Qualcomm platforms only. > > Signed-off-by: Krishna Kurapati > --- > Initially, a patch was sent adding software_node properties [1]. But it > was causing a bootup issue as mentioned in [2]. Hence a revert was sent > to fix it [3]. This patch uses a different approach as opposed to adding > sofware node properties and was tested on sm8750 mtp. > > Changes in v2: > - Rebased on top of Thinh's latest patch series [4] > - Removed Thinh's ACK since code changes are different in this version Doesn't apply to my tree as Thinh's series did not apply either :(