Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3074179pxb; Fri, 5 Nov 2021 09:19:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+PAtlBwT20s70vSGM0+EY3wLQjY7FKM2SL3GKXvU+IMXP2CJjljGq6ElAud+2rZnOzO8H X-Received: by 2002:a05:6638:b83:: with SMTP id b3mr9900269jad.28.1636129192778; Fri, 05 Nov 2021 09:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636129192; cv=none; d=google.com; s=arc-20160816; b=FmQuY+KWMGeiyz//cwSVr3euw1H9CWZ6I23o8yPfHXCq3Mr9AMbL3vQhGw02ZutDU7 teXVtPu4ABX/N6k1j2BuUXJmHsUmw7gH/KIUcwsOLA9P2loKV8fCnF0RxhvQzr5p2piX 1AnV4sr/SjERC8gunIqYiZHv06QIg1JWG6wHGlThC13kJJWUcO202pWCtei7vkX64Evq Mzp2kt0f4qDfRBDqhcTTMo+ljt1f9xDwzUYvfv/AdabbFDHzIHKwAihlNNqg64z699UL onQ10t002hhnPdl8hH1Q587nARv0ibLUaw9f/JR2IjoOsLNYFcyleRR8bx5xvvN1NLpO xUoQ== 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=4cQWxZw0/JIGVgE+Z6AkcODuS9LVxbo90TaBaj0touA=; b=uIZ0lcvsbtulC+3zszITH1CxtMwKYliKpR6rZH89e1tv8sY9TMVLEMv1q9Wg0i3oRM 7GLT/Cgs3euvw9KeB2UBuY9PayEwKEMCkwSLTW3u45spVs5HzbHQkB7ru7fHYpnk1LbN vy2ylVU6Vc4EP+KXsMLiO315P1TgLk+z4n6zCZMq0P/H5sSN8qtu/vyURas7xzI4LAJk Wo4eFMma8HHntiinVB5JTlXg9N/J1u6UKvU/NuoFPuFVRWCSpfyrFEq1ELGIL0phQwfm IdaYVdffpPYt9Z14vB5bQZi+3DMsq1/n5DNEsCsto7O2HJM+Y16ZzfqBW5vmXREZFCy5 oqXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bEYW6y58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si10873412jat.77.2021.11.05.09.19.25; Fri, 05 Nov 2021 09:19:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bEYW6y58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233080AbhKEQSi (ORCPT + 99 others); Fri, 5 Nov 2021 12:18:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:52372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234031AbhKEQSZ (ORCPT ); Fri, 5 Nov 2021 12:18:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A7A22604DA; Fri, 5 Nov 2021 16:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636128945; bh=eSi2TxojiiMOdXbuKV6Ip/WfgZgHSEspnMEj6sfvcw4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bEYW6y5871BDRLKZrKbXuAZvyS7XQlm7dSk/rrkZMQb1+ivyocXHXl9F8pbwbTp3v 6Ks3HJEGEH3EZvpHpHe8fwXFDA+CnoBLvNc/hDQ4zvcdSXmaS6l1GeyEqKi0deaYdJ FPiCuH3wi18aQy0pCxBiZQKzmRsYkYea4DKERTpI= Date: Fri, 5 Nov 2021 17:15:42 +0100 From: Greg KH To: Mathias Nyman Cc: stern@rowland.harvard.edu, mr.yming81@gmail.com, chunfeng.yun@mediatek.com, matthias.bgg@gmail.com, nishadkamdar@gmail.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, eddie.hung@mediatek.com Subject: Re: [PATCH] xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay Message-ID: References: <20211105133050.GA1590803@rowland.harvard.edu> <20211105160036.549516-1-mathias.nyman@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211105160036.549516-1-mathias.nyman@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 05, 2021 at 06:00:36PM +0200, Mathias Nyman wrote: > Some USB 3.1 enumeration issues were reported after the hub driver removed > the minimum 100ms limit for the power-on-good delay. > > Since commit 90d28fb53d4a ("usb: core: reduce power-on-good delay time of > root hub") the hub driver sets the power-on-delay based on the > bPwrOn2PwrGood value in the hub descriptor. > > xhci driver has a 20ms bPwrOn2PwrGood value for both roothubs based > on xhci spec section 5.4.8, but it's clearly not enough for the > USB 3.1 devices, causing enumeration issues. > > Tests indicate full 100ms delay is needed. > > Reported-by: Walt Jr. Brake > Signed-off-by: Mathias Nyman So this needs: Fixes: 90d28fb53d4a ("usb: core: reduce power-on-good delay time of root hub") right? thanks, greg k-h