Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3315532pxb; Fri, 5 Nov 2021 13:30:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl5vwEkHFnvshusrJpHpPtyZyOskjVIC8xwFz2XAGsk6hRF7OoQxOX58ybJvCATJeBBkDO X-Received: by 2002:aa7:cf91:: with SMTP id z17mr60834206edx.193.1636144233367; Fri, 05 Nov 2021 13:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636144233; cv=none; d=google.com; s=arc-20160816; b=wYGEUQDV8GhttO6muUroM4hetSRLqjpJB5mNEA6Wzge+aWPELeopd23c4QCrHGea36 ctIOz/kRdIuE4BjKShPSycR6yQpbv+X48/UK4esu/wtq4U30Vhw/LpyG6X5mp+0B9ayM rUJJokxK5a9/s1Vgim2/AFsiIqs62q+zoXpWajCIHdZ2Qxlv6IK6zgNW8qR9KKB4IQFX cJziIFV/9i+l2v0lo1epq+3DkakgtEHaUy/v8dh6nHQ3Xje7SByq9gF8uFqSWlidsCaM CEpevrueNcnQrHn0oPTENeqjQIHaaDluQ4oUL57tgpDdh2FBTD+vCb6SGYjHLvpj7ygA CkLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=n85mjDrZKigP4rt4cILxpqMdIhkMin8KENO2y7jnaHc=; b=iLgijoNGyktxOnzZGPZlwznexEFXWflK2hHt9DqvN+FaIGyGxfzU7fjUDc33gXMWv2 zYbdaY22XvPY/xfbEw6i/3l8S6wqNP/xNhk6jZDQzf5F+S+hJo4Nv5s0c97wVjQPrz6W nJLEI7Yi8qEEJq90narlHZ22VrTsc/1o7Uy1R7S49x35riboUoussv0eQQvZbahsBwgD /pLopq7U/78pDjXf04MjOxJYT544LCc2MLE+5cxIVH+q1b3pqlw0TKkgZNBZmaGgp7pi 8BwjG9DvUgybB4Y0R0nYjBZ5gkklVzIFLyNEiEXHGYX7oRKI8R/ap0iWfjOsU5MBxLGK WaLw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ka2si11892927ejc.6.2021.11.05.13.30.08; Fri, 05 Nov 2021 13:30:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbhKETmm (ORCPT + 99 others); Fri, 5 Nov 2021 15:42:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:61164 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229918AbhKETml (ORCPT ); Fri, 5 Nov 2021 15:42:41 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10159"; a="231814694" X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="231814694" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 12:40:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="639910310" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.199]) ([10.237.72.199]) by fmsmga001.fm.intel.com with ESMTP; 05 Nov 2021 12:39:58 -0700 Subject: Re: [PATCH] xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay To: "Walt Jr. Brake" Cc: 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, Alan Stern , Greg KH References: <20211105133050.GA1590803@rowland.harvard.edu> <20211105160036.549516-1-mathias.nyman@linux.intel.com> <96925c96-0f87-f110-e279-5b669337948a@linux.intel.com> <8301c7f7-4c63-5681-af53-9edc67d96d17@gmail.com> From: Mathias Nyman Message-ID: <5fc1dc0b-6fd0-2162-4e1d-9420ecabc337@linux.intel.com> Date: Fri, 5 Nov 2021 21:41:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <8301c7f7-4c63-5681-af53-9edc67d96d17@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5.11.2021 19.32, Walt Jr. Brake wrote: > On 6/11/2021 00:09, Mathias Nyman wrote: >> On 5.11.2021 18.00, 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 >>> >> Walt Jr Brake, just to be sure could you test this one as well? >> >> As Alan suggested this sets 100ms for the USB 3 roothub but >> keeps the 20ms for the USB 2 roothub. >> >> Thanks >> -Mathias > > Yes I tested, it works too. > Thank you -Mathias