Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp64037rdg; Tue, 10 Oct 2023 04:32:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjXwnGhJM5KrnYK1ZBxSTx/CN8YDN1W3b3QniHLXUQhDtN5kxx7IkYjHBH0pWz+5UZ9clR X-Received: by 2002:a05:6808:a81:b0:3ae:1675:700e with SMTP id q1-20020a0568080a8100b003ae1675700emr17350567oij.36.1696937572344; Tue, 10 Oct 2023 04:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696937572; cv=none; d=google.com; s=arc-20160816; b=BYLrXXuVPvoAkfwop5mNpcno+0g25TfYpxfQc6P1QwJmI1qVFb80vOZX07WKQ9u+4c nGuYMXiUlGZ7BFV94AD430IbjJfRDbtXIuENrCmU8N1lu8pW7joc814i96aJ2mF+TCZG j09sMqYHFWK11E3vr9q8s2UFB1kZW9kQ0/mwbZPdfGzf6HekSH820UinNzFRWmy4DGX8 FZ7/Q5QwACC3nlKI0M7jX//mY0IDOrb7QIe/Gvj8AgcegD/so3kjxq2ZF+usAstOkwI8 fQscEXcOpOFh9CS3oSurIvambSMo7PIx5IokMi8l0D4Z8DedG0v7Y6kKiqta0CAr45AV BJKw== 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=8JyUgpRH52iUH2IxewyViIT15jllBVEOz7scj/F/UQs=; fh=zNEPvTYzAz9w8FKgrQij9DqNGZjFrdtPBxGYXD9uC7k=; b=mS4jOWy4FGJlMfY9pYD84pqzFJHUe4Gu0Yhayc69TP3RDTQj3BfqA4fO/X0ZyK0eLd qKm4GlZgiPWGB/15v0TP8WiB425fuVCtUPsMzLRz4R9bRUmTq+2/eIziQ0ID5HhoZ1ss 4j+uKBqhqte/k6uLlNHmzC9NdIrPG5dVTQ6d/z4TE8ipP6Ifx+9a01kRalgQuUK4BNlQ 18Kl5hb0GmntbKMJbjMpt530o44tnA0T5frPn7rd093du4OUhGmvYVSXPvnHLfVvmjUK u6kYk1fGpyZWK4nWNwnhluWTXISSUcrwe5EPPa2ygBpW2hVKSeOGhwTVVZvZlMyZYSqs JmEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NosGlgOc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id k191-20020a6384c8000000b00578c8ce14edsi12239611pgd.252.2023.10.10.04.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 04:32:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NosGlgOc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 4A3C38159604; Tue, 10 Oct 2023 04:32:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbjJJLcp (ORCPT + 99 others); Tue, 10 Oct 2023 07:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbjJJLcp (ORCPT ); Tue, 10 Oct 2023 07:32:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C9794 for ; Tue, 10 Oct 2023 04:32:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64275C433C7; Tue, 10 Oct 2023 11:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696937563; bh=S6vg6B0owOxuhRIz3K54PdpODPyrrdelfDwVY2ETUUA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NosGlgOc8JdgYELaYQbxmMTy+D2lQQPOa41A8u026daK3HOjZEMsj/rc7sAmonkVz KcTarBHZkILB+2qy2d6bmEVr4Lg0uXpKHRjfZ6LMt18atbH3AKFpGDiKeelp8GcC3I 7Xg+oMgFspH0NxflM2SYiq5plSFnMrM79Ad1vaWI= Date: Tue, 10 Oct 2023 13:32:41 +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: <2023101033-spool-silver-cfa8@gregkh> References: <20231006101028.1973730-1-jbrunet@baylibre.com> <2023101036-ambiance-precision-657c@gregkh> <1jv8bex4lq.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1jv8bex4lq.fsf@starbuckisacylon.baylibre.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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]); Tue, 10 Oct 2023 04:32:51 -0700 (PDT) On Tue, Oct 10, 2023 at 10:27:32AM +0200, Jerome Brunet wrote: > > On Tue 10 Oct 2023 at 08:56, Greg Kroah-Hartman wrote: > > > 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? > > Silly mistake. I must have taken the git id I had before you merged it. Sorry. > The correct tag with usb-next is > > Fixes: b447e9efe50a ("usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support") > > Should I resend it ? Please do.