Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3407237rdb; Thu, 16 Nov 2023 08:42:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXn2m2HZfVZwK/AUf6hb1ZBzQNhAM/mkPPjFXLeLuaCWVIKYBGrUsme2o9Kh3lZpTYPeq2 X-Received: by 2002:a17:902:a413:b0:1ce:5853:1ff2 with SMTP id p19-20020a170902a41300b001ce58531ff2mr874302plq.11.1700152936711; Thu, 16 Nov 2023 08:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700152936; cv=none; d=google.com; s=arc-20160816; b=RuiAN1o8dUOSXTGjB/3PiH4kyqZ5HjgwWEzBdHCIMTb7ZX/TDxm6hy2BrAfQFs3fna 9sQNqrD0jWWKDYK6rAx1EbnwNw67ZQZzaTK7SwkymK+qTJ+2hyLcGBxa2evMKl8aNhMG WuSAu74znWP1TKNqoDqBBAT3x4TbiswD7y9YPjqvq75IEDGQKqZPN4qWbwlNMQrkqxkz drKqiN7MFGm1y7byDX+LMYDNnf9Bi5Xw4N7q08Q1IUe055Xk7xAX+AQHY826144LSTn6 c2VXNR5gcH9sEUB12InwET/SJM7QQ2tapWSTAypxH4j5BwQ8oJCm50HILHUflhkih7cC q3bQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=tni4t3HeZYOoXCGlFujdXfP+7OQFDAQizL+X5ze6x40=; fh=3adSvJJB8MnXE/EUW1X+x+d+dhZxC74lTmj1heMmUWY=; b=QMBmPyIxEfLGyQ0C+ATPXX4YcUdKyQR4+xru7E5cyWF4V7TunPqAk/J0e+md9EPGU0 C8e40G6YQyPW9YsaeuqNocMRoSeSGBJw147dMMaHYTamqATrIY68t9plqIuviLLKSas0 /USC3SW/daml8L5rAjqCB6yzl9EBwIdX1ZhOABCGSSh1QOPAsX4rkuHREetAGnOAdx/u i+7H40ZUjyeEQd1po0+s1GSMJWy7gtextBVF3eQXAyZXnA90q7La/KVl005ncyZGDGCs zk9XTPugs0Pmkd0oLTlSifDS562W63Wu+n1qIk7gfz3J8ZE2e1TlPkaJCgRGoBjBp6s4 lQRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="HkHpT/iT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i16-20020a17090332d000b001cc2ee4c9c8si13650330plr.417.2023.11.16.08.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 08:42:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="HkHpT/iT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6FF3680A9904; Thu, 16 Nov 2023 08:42:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343972AbjKPQmP (ORCPT + 99 others); Thu, 16 Nov 2023 11:42:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbjKPQmO (ORCPT ); Thu, 16 Nov 2023 11:42:14 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE6AD5C; Thu, 16 Nov 2023 08:42:09 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3591DE0004; Thu, 16 Nov 2023 16:42:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700152927; h=from:from:reply-to: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; bh=tni4t3HeZYOoXCGlFujdXfP+7OQFDAQizL+X5ze6x40=; b=HkHpT/iTLoAUN7BorvxDQXf6ahzJQV3JohuuCIAYJp/cbEixyWqStUBH9o8PAaDcmspi4k THSHmZdHg8uDYWpYXGaq9Qly/28HStoUTaZogZzHKcR4M/hYR+BABa3I8goExOv3sGBrFj 7kX2VBEsryqZC/IwPkEMNSW9JXffVWJSzGj1eQthWx0xtoDul3HKpgjY9Kxj7YYIFXTHXU 8BXMCtza/49BSGi/9j1YyeFgEhrsAXplntVbctbv/iB+iT2ebG3zxek40Ez2MBoDtfziS3 TienzVLHYwBWHxxPK7hwArRAUl2a0W9DopqqiMu11uOs8mUTEM8TUNVRI37sMA== Date: Thu, 16 Nov 2023 17:42:06 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Jisheng Zhang , Thinh Nguyen , Greg Kroah-Hartman , Lu jicong Cc: 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: <20231116174206.1a823aa3@kmaincent-XPS-13-7390> Reply-To: <20230930074334.1406464-1-jiconglu58@gmail.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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO, FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 16 Nov 2023 08:42:15 -0800 (PST) Hello, Similar issue with ZynqMP board related to that patch: xilinx-psgtr fd400000.phy: lane 3 (type 1, protocol 3): PLL lock timeout phy phy-fd400000.phy.3: phy poweron failed --> -110 dwc3 fe300000.usb: error -ETIMEDOUT: failed to initialize core With CONFIG_USB_DWC3_DUAL_ROLE and dr_mode =3D "host"; It may not be the correct fix. --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com