Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2716676imj; Mon, 18 Feb 2019 10:49:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IbjaVnHuKZtj8CfeO5cBP6+4hIJmxb2Nqh3p1U4ypNTnmZDhszsF2R4ajI1LyszFY2CnzU0 X-Received: by 2002:a63:c22:: with SMTP id b34mr20351902pgl.398.1550515787917; Mon, 18 Feb 2019 10:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550515787; cv=none; d=google.com; s=arc-20160816; b=ily9M1kJ53c9XAB9TRR7v0cgpgu/kr9DHU6+qiRUYXIariDsZwNyRhOkeQn419Tw6R BkHZ8GKxvfVd7enq/OalYM5rXr85WOJZgey3StwVs8A/a6Ie2fJtFUpaCkBFDQlefjNa Q/nD5SKCvzc7SPX5kPzlfuxcff83GGxj/S0YIaE8f0jnMXl2MwH8deXBO23TOsTp1Ezn J4hQ3IMwPSQisUAdnYpJNrn5G85RtM4pHOfOV7pPFTkSXQwTgccupBRThvlivo5Uxq6O 5Zco1ahLRIOYCSELo3q/RNmgymoqI7drT5PuYA1vGqhJ3s17uesXzZ3uZYhW+VkXIyk8 OW7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=RDVRzOCSfuxAxzdJM+mS+r3cNKBzpi2XEVkNY4Wm7w4=; b=QFgXigvqhYvslV/duHzmVLRV+0cJi5q5DbFx0HgYi5acTXrrUkBhQg+8Xot/AB8RKW Xsn8dbKdXZe6EV0vtSh+hsXldj4x5/WPqG5Cbfrhp10KIdHQvnXnh+LjDW4Detcnauew IkguQQi5WlQQskw8eG7L2yHM3nnaB8n397xLPzHNALGJGFQbi43nbFX7KsJH6GRphTBm /Z+f83wU7QPR/ncOmiaGFJeurtuL+SfA3PWpBd3SJ+3kcB03BYYHUR1UhApDgqFIrvFX fbg+McMkVq7Wv/e3r5wmabiIQvnHSHWI1PwsdP6n7IDkq8rP4ZqusgLaIEwDMbMAoAUt QE8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q202si13792537pgq.194.2019.02.18.10.49.32; Mon, 18 Feb 2019 10:49:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732727AbfBRPjD (ORCPT + 99 others); Mon, 18 Feb 2019 10:39:03 -0500 Received: from netrider.rowland.org ([192.131.102.5]:37373 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1732238AbfBRPjD (ORCPT ); Mon, 18 Feb 2019 10:39:03 -0500 Received: (qmail 24570 invoked by uid 500); 18 Feb 2019 10:39:02 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 18 Feb 2019 10:39:02 -0500 Date: Mon, 18 Feb 2019 10:39:02 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Greg Kroah-Hartman cc: linux-kernel@vger.kernel.org, , Mathias Nyman , Sasha Levin Subject: Re: [PATCH 4.4 026/143] usb: hub: delay hub autosuspend if USB3 port is still link training In-Reply-To: <20190218133530.107708512@linuxfoundation.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Feb 2019, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > ------------------ > > [ Upstream commit e86108940e541febf35813402ff29fa6f4a9ac0b ] > > When initializing a hub we want to give a USB3 port in link training > the same debounce delay time before autosuspening the hub as already > trained, connected enabled ports. > > USB3 ports won't reach the enabled state with "current connect status" and > "connect status change" bits set until the USB3 link training finishes. > > Catching the port in link training (polling) and adding the debounce delay > prevents unnecessary failed attempts to autosuspend the hub. > > Signed-off-by: Mathias Nyman > Acked-by: Alan Stern > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Sasha Levin We should be careful with this commit; it has caused problems for some people. Mathias has been working to fix them, but this commit shouldn't go into -stable until the fixes are also ready to go. Alan Stern