Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2802810pxk; Tue, 15 Sep 2020 02:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBjT5b1BPreEczphW04DY9B/FPrQ5rvMywKSDqPZCQ5Lv1ngUj9KRPc4RuzUx+zQqW/z1X X-Received: by 2002:a50:8062:: with SMTP id 89mr20965255eda.241.1600163212795; Tue, 15 Sep 2020 02:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600163212; cv=none; d=google.com; s=arc-20160816; b=wzpw2x6tLn5nCBAOmnVyWwTfLUcAsrpbry9UsEjS+vkopF8krPMLylo4/kWZ1Z8EHT Tk3yYWYHHlCXvfE8lbOhVPvDUe9LfxWXqlidS3JkCr5Z7Diy4CxOEN+4M/e1Clr7XCNy JA0rdfhsnb++6S0ee4yjvB/HIPz3TDHKMnhuDKY4KYWc+mkvvVS36WfaUFfanjX6aiqU VHpVVjUPDj8ZBvbd5uTZ1StqdvFA3TeILAy0C+joD4DNm+t3Eh+D0LqTH40RaOIDu/Kf vEPSdmpqMbkq8eKXT8ctrk6kzTbOLH4YOt9/T1NpzIa7PJmrR+cQu4aUGnpps+T3PkUd 65bg== 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; bh=QRxe94XJQAfFNBjx8SaOmVyUhYnP2S4Tb83Q+Ue5iBo=; b=A+2eTrGANW6bqDHTk/l4bqZBOOdjNAIsUx69BpoC6JJLKSix35aYOyQW2aIlhPnic9 FqjXthVUNu7Kf3WE8lgwCssmCZz4wmcVqImCic+y26PLrDXcYIO8g60XwXXeKARbB2cK Se7QvgRFPlG46GxkMXBvRRoZSS4q90+UEPdqJxS7FuRwVaHcdYoDkfqgJnn66NfOMEBC LqzrZjbIsuEmWf55PE8VvhINDb+/F6EQd+ZYZDjC8UGhLpHuWj3JGt7UKc1qA/ILj8ie P4hdcGc854PtqAPk26ts2WnhscDkFvA9en+Rwz2tKsmCGVS51Gp01stK5SW9Zxd9FsC5 P5rQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si10129010edj.244.2020.09.15.02.46.30; Tue, 15 Sep 2020 02:46:52 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726145AbgIOJpr (ORCPT + 99 others); Tue, 15 Sep 2020 05:45:47 -0400 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:38685 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbgIOJpq (ORCPT ); Tue, 15 Sep 2020 05:45:46 -0400 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id D840E3C04C0; Tue, 15 Sep 2020 11:45:41 +0200 (CEST) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SMoPaaUSd9to; Tue, 15 Sep 2020 11:45:36 +0200 (CEST) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id 3138F3C00C1; Tue, 15 Sep 2020 11:45:36 +0200 (CEST) Received: from lxhi-065.adit-jv.com (10.72.94.30) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 15 Sep 2020 11:45:35 +0200 Date: Tue, 15 Sep 2020 11:45:31 +0200 From: Eugeniu Rosca To: Alan Stern , Greg KH CC: , , , Baxter Jim , "Natsume, Wataru (ADITJ/SWG)" , "Nishiguchi, Naohiro (ADITJ/SWG)" , =?utf-8?B?5rWF6YeO5oGt5Y+y?= , kernel test robot , yasushi asano , Martin Mueller , Eugeniu Rosca , Eugeniu Rosca Subject: Re: [PATCH v3] USB: hub.c: decrease the number of attempts of enumeration scheme Message-ID: <20200915094531.GA8046@lxhi-065.adit-jv.com> References: <20200907155052.2450-1-yazzep@gmail.com> <20200907155052.2450-2-yazzep@gmail.com> <20200908190402.GA797206@rowland.harvard.edu> <20200911151228.GA883311@rowland.harvard.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200911151228.GA883311@rowland.harvard.edu> X-Originating-IP: [10.72.94.30] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 [*]? 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" [**]? [*] https://www.usb.org/compliance [**] https://www.usb.org/sites/default/files/otgeh_compliance_plan_1_2.pdf -- Best regards, Eugeniu Rosca