Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2330089rdb; Mon, 9 Oct 2023 23:57:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqHo/AGfFkOZDTOqYKCSYBfpxE3yduVh1xDB/VNPtur5NthD4xik8ysVhx4inS0ATNC4yd X-Received: by 2002:a17:90a:1f4d:b0:279:3173:d73a with SMTP id y13-20020a17090a1f4d00b002793173d73amr14476891pjy.26.1696921041486; Mon, 09 Oct 2023 23:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696921041; cv=none; d=google.com; s=arc-20160816; b=owfOR6A11tZZgKVWI6n0Yx0Bz14BUdilhMq4SaNMTGfKkR1TOM7VeBKpSiXMXhCWWt vKGDw1T/OfGSO/QR5eTk4FcZ0vwiQ21p/uIJ0Twc2Rsjyr7fR864tOLjqJ8wjWf9BjHJ KEB5oKh9ww+6y+465lWVWg4rMyihdyNCkuwdOuqi/1KFBpfh9bdJ26Q8PTDxKt51VcmW yC5SNUTjp86HiOIV75SBoU8dHiylO0oFCZMzkhRbpz0N+d5eGvdM90uoieZPw85dlib9 KwJybidOSLV2ebFMi2hks7Ek+j/r5a2ATpM4ZMmVpXpeG/3cPnWQaZzpCAh/6QxKFj4x R3Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4rLEghFFBnjbksz3+n0ijuzCNzBTUhwKLgsKguRwrUY=; fh=zNEPvTYzAz9w8FKgrQij9DqNGZjFrdtPBxGYXD9uC7k=; b=jYTY1NzJXXytmuMzOHSM3ZrFv/ejAwqVELoJ5Xj89nCA6ocmAoZtetK0Gc6LY9mZso rWYLYRNlSf2y+opbEG3Xqg1qtQT7RHg1N5MACYrT/TVprDxUWM6lml4D4m95ZA0BVpC0 Loqx1p/VXydgBMyWKHDUzXeS7eu8AwUNOdPe52js24ywkSLDDqvrtRigCBYeN/Qf0h+W VNBOX9zajiQTXij+SrGm9XMdr8to8UhFi5tFnhHG4AR7DHmhl00/7T3w7iMXkA0lTJOE D0XGzP89Y2witcEtf1vIpN5O6KwCgaVcOhZhtx6hTeFNXUglFkEaa2+nZVZEvraF47+h 3qtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aYtJLJWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b8-20020a17090a800800b002776ebaec7fsi10792225pjn.122.2023.10.09.23.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 23:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aYtJLJWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8B1778066279; Mon, 9 Oct 2023 23:57:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442346AbjJJG5A (ORCPT + 99 others); Tue, 10 Oct 2023 02:57:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442347AbjJJG46 (ORCPT ); Tue, 10 Oct 2023 02:56:58 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7AD9F for ; Mon, 9 Oct 2023 23:56:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC8C8C433C8; Tue, 10 Oct 2023 06:56:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696921017; bh=oqvJgyKTmDYPOyjRjWVCgsn+8ih5SG2Zh4gHJ1IAof8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aYtJLJWq3YUa/1rhtyyIZ9Cx48UWR+444TVNvSlMeeMybkCssdqzNZgwRF8izFq/G Unbsgs77e97z8S2/XMxRtjcdpoFJVe1U1AVb3VGrwKX6v3zAL4UlbXZDz7qd19HZ1p 8B7URps2qVuahS41c5TkpB1mlFL+6kf6wzWh9Zn4= Date: Tue, 10 Oct 2023 08:56:54 +0200 From: Greg Kroah-Hartman To: Jerome Brunet Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Neil Armstrong Subject: Re: [PATCH] usb: misc: onboard_usb_hub: extend gl3510 reset duration Message-ID: <2023101036-ambiance-precision-657c@gregkh> References: <20231006101028.1973730-1-jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231006101028.1973730-1-jbrunet@baylibre.com> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 09 Oct 2023 23:57:11 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 06, 2023 at 12:10:28PM +0200, Jerome Brunet wrote: > Initial tests with the gl3510 has been done on libretech aml-a311d-cc. > A 50us reset was fine as long as the hub node was under the usb phy node it > DT. DT schema does not allow that. Moving the hub under the dwc3 controller > caused issues, such as: > > onboard-usb-hub 1-1: Failed to suspend device, error -32 > onboard-usb-hub 1-1: can't set config #1, error -71 > onboard-usb-hub 1-1: Failed to suspend device, error -32 > onboard-usb-hub 1-1: USB disconnect, device number 2 > > Extending the reset duration solves the problem. > Since there is no documentation available for this hub, it is difficult to > know the actual required reset duration. 200us seems to work fine so far. > > Suggested-by: Neil Armstrong > Fixes: 65009ccf7e8f ("usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support") I can't find this git id, what tree is it in? thanks, greg k-h