Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4463136pxb; Sat, 6 Nov 2021 14:34:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZGbVzDtpdp/Sa6c/W2fLXWK0pUPrZ1b2xwAeoV2g6GE4X7hXjH6ILLNiAbmfmUd4yvWRl X-Received: by 2002:a50:ff07:: with SMTP id a7mr91908839edu.338.1636234494293; Sat, 06 Nov 2021 14:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636234494; cv=none; d=google.com; s=arc-20160816; b=VwrGdnarct3kQ8cctRE2JE+mI/MWdckzqo86x4PWAO+W/9yxTHLPyjx+pvRUYLsSbH 480IOUnZvQvn3DpnRam/ECRcJtc8BkUtxGxHIUoPXSjlCJ0x5PCEX+l4STedRKosSJa1 auV/27FgvyuC9XqvaBXTMCEx3+otB4BLKxJSCfAUe6zGNQ5FILNbaM7l9zaHW9g46AWS 11JZ1KadpQNvOb7SkPaf6AYF1QHnctZUncB2x+Qot2EywM6nwmjUNaUDvX4k6dljqfda HPDNGoe32dbQQ/5V9SBfoXzFg8ba8ON7gudSpWVb3p38llCvftFyLo4Uhi3JS8LB1zeE tJKw== 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=28SA5w7a4FGniuHeq9wxq2PI3sdPVPF1CRfe7uLqUGQ=; b=iRurxNBN/BXDr5LBl2l4V6ZHguuyznHhxppHEZRPXs4YEbFzTAgVw3tCARE/U3T4Ii uhTq40PS46/yHy7ZguCJKxXwCOark1jO+Yd1ES0F4Hl4VV47yQgTO1AdT94IeCEGmbT4 OYWTYMNxGRnPLc4qP+GRTA6Y1v/U2t2BRFnZ09nbb4A9vP9lze5gdNXVC0vgh6jZyX+1 6R9uHcjIeQ07XgXXn9RVvufq/7+majl+tjjw2m9V6Nyi30XeSU5nEbfvIhz4eobWpnWb SnnApwcY6xro/Vn+n/f33IKIqEA0gYZPHe5Nnf3G928FQqmenU739xQeSdiTCmLD/ytx CJuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B5IpqBXM; 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 b92si11689568edf.317.2021.11.06.14.34.31; Sat, 06 Nov 2021 14:34:54 -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=B5IpqBXM; 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 S234391AbhKFOog (ORCPT + 99 others); Sat, 6 Nov 2021 10:44:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:53496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231939AbhKFOof (ORCPT ); Sat, 6 Nov 2021 10:44:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2649561074; Sat, 6 Nov 2021 14:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636209714; bh=EFQSWC2A+sX79AmgQ55mM3lCqICyKef/vVuUVtOUPQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B5IpqBXMdalPSmjvlnYyi3YP7VMHGKHlDz/6TjOOZeIrivWSz086HWVdeXGyLo2S8 e3KTbd32XN9GYgi+d2+MIIK/AsFtMFwYMv1Mr/Cv0jUL+3NPZ40255JEXNDmW3F7Xs KJ1hZrmTTuNExDUxBlwaWuTytkEnyxVZYN11FEXE= Date: Sat, 6 Nov 2021 15:41:47 +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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 05, 2021 at 09:56:59PM +0200, Mathias Nyman wrote: > 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. Great, I'll use that tag for now so that it will get backported properly. greg k-h