Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2853520pxk; Tue, 15 Sep 2020 04:14:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdnmKCdsJqH6EiuHbfizdLV3ZRVegzXhIY8kXx2RsJrY5IpR8BAj9DzW6wPWu9PGvKYBkk X-Received: by 2002:a17:906:813:: with SMTP id e19mr19139392ejd.101.1600168444525; Tue, 15 Sep 2020 04:14:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600168444; cv=none; d=google.com; s=arc-20160816; b=fg5ZiLX67xBZuVxuqVSUa57raJjTRT/fL0zufLVW9GuNK01EdauHXr1im9b3H/OWZe ILnfbKDY7S3J1yrGbupBjVPYbsDAxi/cJ834LGaO/DEWL2myUzN8Rw+Vh4bir9peHNOE VloI0IenrpeFVY67S8MkiD+I7uiN/vV2YuRfXUDbjE+xQ4eCHLbWfN/bfH1gSTHRFQJG p/5CGR+I+g2SKwXtx94iPyAk9ICHOpJJBtw5whJHN8DEL52VnbM6erAA3mGMpRKowXPG ZkfzGfOeaZ5tsDLanLsW31LLrO5rZ3Ev1vEGoKAXv6d58m54UdUWXU7gXzEimCMEo8Ll LzvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JKwXUqiXJyFifev4SrjXX5uvdlM+P6yrxONxSEL0OX8=; b=PlKg7CZJHFr6EqThZoyYhMe/hOR50+Wqar3EiEo8LyaBWEepRRl0kK5/EVrWDMsftv b70txRePtwe/3+VzvxVz/Xm5vsM1Eyq+/E6Pi1URAjUrd5mryVhw3ZKHgBYrYhGuzfUy O3+KxvezGN8BYdHxNdm2qyzwO5r8BkGVH60BA+HHPKwXRxK6GulJ1Y/MUnMRayt2IrnH 72oXDc33ZIGNO8MY6bcKr3AUJCTafPrtdPXMBtkWd2AX/Vze4At5K3QWX330XfyE/IlZ S1w77U9Eu3QC5G2XpqE0JO+YRTPnBGrzm8oVhOjCDz/p20PqVIgVl/cbi5NU8GpgmXGS aQFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PMVLeHv0; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si9084066ejx.348.2020.09.15.04.13.42; Tue, 15 Sep 2020 04:14:04 -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=@kernel.org header.s=default header.b=PMVLeHv0; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726172AbgIOLMq (ORCPT + 99 others); Tue, 15 Sep 2020 07:12:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:57360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbgIOLKa (ORCPT ); Tue, 15 Sep 2020 07:10:30 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E35C9218AC; Tue, 15 Sep 2020 11:01:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600167674; bh=wFfE5fiM4ubdhDZUDuxOI8nMSLN4cvgcqiQR3bGu0Xs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PMVLeHv0REyxe99q8amMjinAlAsMG5wWbWH2GaUPW+Eb4ZnO3u6d5rQMha5WYQiZu b2jqBRwRYCSyBymfWRfb/mkOTzC2oiJ0ZLI75hyE3cEBhM6YSqrNAWCOyXfPMWNgib ST19kempafe2Kp/veIU/nmWxwbSMmaR+xvLJwJNA= Date: Tue, 15 Sep 2020 13:01:11 +0200 From: Greg KH To: Eugeniu Rosca Cc: Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, andrew_gabbasov@mentor.com, Baxter Jim , "Natsume, Wataru (ADITJ/SWG)" , "Nishiguchi, Naohiro (ADITJ/SWG)" , =?utf-8?B?5rWF6YeO5oGt5Y+y?= , kernel test robot , yasushi asano , Martin Mueller , Eugeniu Rosca Subject: Re: [PATCH v3] USB: hub.c: decrease the number of attempts of enumeration scheme Message-ID: <20200915110111.GA269380@kroah.com> References: <20200907155052.2450-1-yazzep@gmail.com> <20200907155052.2450-2-yazzep@gmail.com> <20200908190402.GA797206@rowland.harvard.edu> <20200911151228.GA883311@rowland.harvard.edu> <20200915094531.GA8046@lxhi-065.adit-jv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200915094531.GA8046@lxhi-065.adit-jv.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 11:45:31AM +0200, Eugeniu Rosca wrote: > Dear Alan, > Dear Greg, > > On Fri, Sep 11, 2020 at 11:12:28AM -0400, Alan Stern wrote: > > > The thing is, I'm afraid that without these retry loops, some devices > > will stop working. If that happens, we will not be able to keep this > > patch in place; we will just have to accept that we fail the PET test. > > > > Alan Stern > > Does this mean that Linux community leaves no choice but to ship a > forked kernel (with no chance of alignment to upstream) for > organizations which design embedded devices where USB plays a key > role, hence requires passing the USB-IF Compliance Program [*]? We are saying that if you ship such a kernel, we _KNOW_ that it will fail to work in a number of known systems. I doubt you want that to happen if you care about shipping a device, right? > Is there hope to give users a knob (build-time or run-time) which would > enable the behavior expected and thoroughly described in compliance > docs, particularly chapter "6.7.22 A-UUT Device No Response for > connection timeout" of "USB On-The-Go and Embedded Host Automated > Compliance Plan" [**]? Given that the USB-IF has explicitly kicked-out the Linux community from its specification work and orginization, I personally don't really care what they say here. If you are a member of the USB-IF, please work with them to fix the test to reflect real-world systems and not an idealized system. Last I heard, they wanted nothing to do with Linux systems at all :( thanks, greg k-h