Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp385742rdb; Fri, 17 Nov 2023 01:22:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqwjN4sUSnYxZzOTgzsG6ZGmGNM1GZZ03peLaZa9Mw5OSSiafyZ4+2xnWGk6SFI3mS57bq X-Received: by 2002:a17:903:1206:b0:1cc:47c1:c2cb with SMTP id l6-20020a170903120600b001cc47c1c2cbmr6919858plh.2.1700212951939; Fri, 17 Nov 2023 01:22:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700212951; cv=none; d=google.com; s=arc-20160816; b=aK1xDg4eLf1NqJRnan619SA/vZpVRpfHcrlnTKYnIlBrNA5W5eqpmyk+DJge/b7QuD h4e2/EytGvdzrhdRimMFhj17mjKTMESNTaat4gw5OZ69WJjUdfvI1IR8zN1X+FcczO1a R3KgAv2qATMXVAOg+yYdwGHK54gd29vE1zsptIwRoeKXwdTUoavuspng/KEZXLXVtfzJ WdOPjWAQRRR3CQm0CKVbOqjhDbot/FoHKm+pOJtJorwxrfwfFxw7FmlF0uKvOOkYl3Tb KuS/TYCmGBiScfgUR6sQp16vwH1F9lIpUco3LQ1XQdtIPtlRPPyTZG6nj/2g9d4EDion yytA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=wcSMTVB65o0CxA6LAXq51wxe965CmzOoRMyEDRoNDwc=; fh=ZQdxTC+kVTdxGXcdCCUuqKX5GyywIoqRrhLgHqSCwjE=; b=aS9I/mAcqB8WrDgh4WlDcbeGbqopPOSSso49OSEliKuJi1b0OIO4TV0s8TrQwMHV17 UtQuLuNWVUontguh1wsbGbl5f78eGE6GLpP+A1iy6g9bX7nKjZf7/psYfbbMCfK4Taka Xri6QC8KnLc1NFdrUM9k5Ly97O+SpcfNx8HA6U65yihG0LJXIc8vCI8cwvdS3/41TX0n Pk26qiF/xEVs9LvaIxLrLPfnhOA3fiExDumArQNY5npOsIEqFtxupjJA15zETLPCJunv YWAVHNjDK7CPUy30s/6/bS1MgqCyDYplBOwmtIa2rlXyrHjHTtyVr92FjltER1t9L2Ji r6+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=oDXdhePa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id d3-20020a170903230300b001ce5b86d0dbsi1576189plh.414.2023.11.17.01.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:22:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=oDXdhePa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5070F826AC53; Fri, 17 Nov 2023 01:22:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235428AbjKQJWP (ORCPT + 99 others); Fri, 17 Nov 2023 04:22:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbjKQJWP (ORCPT ); Fri, 17 Nov 2023 04:22:15 -0500 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6450D4F; Fri, 17 Nov 2023 01:22:11 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 65A161BF204; Fri, 17 Nov 2023 09:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700212929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wcSMTVB65o0CxA6LAXq51wxe965CmzOoRMyEDRoNDwc=; b=oDXdhePaO7wWX8F93nJ220tXSO0PAnWJjCQXdgsljT6UenIxwl0SCHqosxQk1iqgDoajfk 9hr9TMOK0OP/aoIFj0H1vNVPBf1g+StIMk8UEAVg8EHDy21D1l2cJt7fMUuFU3+yMFYiTz 33dZxDzu13Dg8X/hjDFJFhJF3B7FeeB0nirLAZQ9v0L4QwDHBQxRHcaglAqOSR2dDUdll1 iEqgkBpelCoCeVpUAuRGnkt3YPGDvO0hM75voX3OA9+BOSxw8yN8Hml2f+ERbltwJq3RXu Hfm8BXklFg1Rzgf2Oop0Pn9knC6cPfpbPBmUc98JyaSjBdcptOK1Tu9jRxJSRw== Date: Fri, 17 Nov 2023 10:22:08 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Thinh Nguyen Cc: Jisheng Zhang , Greg Kroah-Hartman , Lu jicong , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Thomas Petazzoni Subject: Re: [PATCH] usb: dwc3: don't reset device side if dwc3 was configured as host-only Message-ID: <20231117102125.44995ad7@kmaincent-XPS-13-7390> In-Reply-To: <20231117015527.jqoh6i3n4ywg7qui@synopsys.com> References: <20231116174206.1a823aa3@kmaincent-XPS-13-7390> <20231116175959.71f5d060@kmaincent-XPS-13-7390> <20231117014038.kbcfnpiefferqomk@synopsys.com> <20231117015527.jqoh6i3n4ywg7qui@synopsys.com> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:22:29 -0800 (PST) Hello Thinh, On Fri, 17 Nov 2023 01:55:30 +0000 Thinh Nguyen wrote: > Hi, >=20 > Sorry, email client issue with your email. Attempt to resend: Thanks for your quick reply. >=20 > On Fri, Nov 17, 2023, Thinh Nguyen wrote: > > Hi, > >=20 > > On Thu, Nov 16, 2023, K=C3=B6ry Maincent wrote: =20 > > > On Thu, 16 Nov 2023 17:42:06 +0100 > > > K=C3=B6ry Maincent wrote: > > > =20 > > > > Hello, > > > >=20 > > > > Similar issue with ZynqMP board related to that patch: > > > >=20 > > > > xilinx-psgtr fd400000.phy: lane 3 (type 1, protocol 3): PLL lock ti= meout > > > > phy phy-fd400000.phy.3: phy poweron failed --> -110 > > > > dwc3 fe300000.usb: error -ETIMEDOUT: failed to initialize core > > > >=20 > > > > With CONFIG_USB_DWC3_DUAL_ROLE and dr_mode =3D "host"; > > > >=20 > > > > It may not be the correct fix. =20 > > >=20 > > > Just figured out there was a patch (357191036889 usb: dwc3: Soft reset > > > phy on probe for host) from Thinh aimed to fix it but the issue is st= ill > > > here on ZynqMP. > > > =20 > >=20 > > How many ports do you use? Can you try this: I am using 2 ports. I will test it out next week as I don't have access to the board until then. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com