Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3450396pxb; Fri, 5 Nov 2021 16:05:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbGEwg3z1wcfGaWM9SIcwgYDwJbjqy3M6dNO274PIAH8/x7QsTMkhH5b3E6eTlhJECNJYg X-Received: by 2002:a05:6e02:1051:: with SMTP id p17mr31765106ilj.220.1636153553371; Fri, 05 Nov 2021 16:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636153553; cv=none; d=google.com; s=arc-20160816; b=oQapr3KufTapNLQabC6AeehTBesdqFL24Fnuf+NF/bVhAtxfbpdcwrRA6HbxHHc7UM llmk1XKQRkSwfuPUOhMmtROMVkcsq7WTAlNvIQuOdLUiKzZj4az+RblAF6SZSa9ttaeb rQmxu/BoY/HdtzQb6Ni9dqm0LIbymJ/b/p0WQsNVLAMDdpWCIXDeL+6HoBddi3bYDfgx c7jSaj9dejkZDKPjr8zNtyxFHeypVERlqPjJpoyekp+Xz9B/UxdpbmnSEA1FPq80fPp2 c37U0rtCUosXS92Crb3krTFoZFcYsay1LRJzicRbyEm4nqHPtFtquUHzuWcgwlRwzq7s Krvw== 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:subject:from :references:cc:to; bh=u56vhQFwo24sY8ga1CSNoI2Q2qLvf4dGsteZ6jayCgU=; b=PmjqZUvek2CcmkUiChpX/9GGMquT1EfvBBFsRKweukLaWXL8z4D36hC8Jz4IJFpRzF OFQ4DMfRx13ueJjADXQ9q3FiVpb7wGT4353Bzxp8IjtWnsX7Pz7H/nd8A40KqMX53Crm SRCOmgDzeJ5fyMEMJc+k2bbNvJXKixGz6x8mbZhblmKvb5IJhskKMgH3Ev4RtdCEhZHN qlqECvlPt/j19fT+V7ctK1j48tBB0RjusgwNKA3yc3/ENy2vISm3t5wz5g0y5pexJgw9 CN9F2yOJAXJs7gRQ0l8z5fpHgLwtlXAJ/gDV89Ge16NxCAcgTcLCLz9jXu47iY4JmfEG QJEg== 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 t6si13843534ilu.123.2021.11.05.16.05.26; Fri, 05 Nov 2021 16:05:53 -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 S232900AbhKET6R (ORCPT + 99 others); Fri, 5 Nov 2021 15:58:17 -0400 Received: from mga17.intel.com ([192.55.52.151]:8884 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232926AbhKET6Q (ORCPT ); Fri, 5 Nov 2021 15:58:16 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10159"; a="212714977" X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="212714977" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2021 12:55:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,212,1631602800"; d="scan'208";a="639913030" 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:55:33 -0700 To: Greg KH 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 References: <20211105133050.GA1590803@rowland.harvard.edu> <20211105160036.549516-1-mathias.nyman@linux.intel.com> From: Mathias Nyman Subject: Re: [PATCH] xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay Message-ID: Date: Fri, 5 Nov 2021 21:56:59 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5.11.2021 18.15, Greg KH wrote: > 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? I guess so, not sure on "Fixes" policy here. This patch fixes an xhci issue revealed by ("usb: core: reduce power-on-good delay time of root hub") That original patch itself looks correct, but these two patches should really go together to avoid any enumeration issues. Thanks -Mathias