Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2225578pxm; Fri, 4 Mar 2022 11:47:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHcB57YB5D+JBdLqb3YDeeaCQsjt31i/7UE5mChw/sYkYOg8vI6F6R0DuuK74wr5qg1lUD X-Received: by 2002:a17:90a:fd98:b0:1be:eef1:ef40 with SMTP id cx24-20020a17090afd9800b001beeef1ef40mr238325pjb.143.1646423273561; Fri, 04 Mar 2022 11:47:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646423273; cv=none; d=google.com; s=arc-20160816; b=uAwzZlNcu62B2eEDbp5dSRnq+Bs1dUjpWA+laZV2vLvG4CLtde5wZHwCPUrPRI96qW 99Xa4UhyNDdmXgblN2vQuJTyFM1SMUZ15y4H//MnnvZT8yZKE12BlHhLYnAkM0H4m8Fc cg9Hu7nPrnJwkj89lvO6iPVYtjJbSAsMyTm8Ky7O9xX3y9pnwa+mUThEkfEe7B277Gev VSRhODq+l28j7nBYooxxt5meF5h6M35w121F6MMAo7Z055FMlVBXkb/pdKs44ZNdAIjN ntG5psW4pABS4nFtLAF21VFVg+0Z2jSOsxfzVo63sXykYo3UbBkjXSCZDE7RoCSqrfa0 /f4w== 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=DLcjlYETi83GAdfZGBS+e0palzqA3ZIacqFX511Xalw=; b=Xw63gMu4GEtRQIKvOwdPOaa+QgR/Lj7pgGbUCHc81PrZa00tjKL1N/qvWgU3rJiKNz fdmVcmmNc2vrQ8+N/RQldwZrFK0YZXfI0/REMRLcWAxJIZVqKcTgoX5bdCe4hu6t5KPp 6PpkkTslSP0P2jICQvKKV4Qj6YkeAIXVIWqOsbYJxF5ezIB4qF7143Tno21ogF21X3ug BwOZPMcEyr4tde5ADQH6IW20kr0ezYy1KL2b75DEF44p09tPqZTqPAhT9fHnzY0oDLSA nWlO1iGPEFQ0zfQ0jG+AabjCJKysry96rRFjs/O8YmCwwwBf6noMUe0Lj/WsIardFey9 tVkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fBmuVOpH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k17-20020a170902c41100b0015142b12973si6459507plk.289.2022.03.04.11.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 11:47:53 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fBmuVOpH; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F188BC12E5; Fri, 4 Mar 2022 11:18:49 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235992AbiCDOSM (ORCPT + 99 others); Fri, 4 Mar 2022 09:18:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239841AbiCDOSA (ORCPT ); Fri, 4 Mar 2022 09:18:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1B6651302; Fri, 4 Mar 2022 06:17:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E8F4612A5; Fri, 4 Mar 2022 14:17:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97B12C340E9; Fri, 4 Mar 2022 14:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646403431; bh=izdGUeAOWq2bl+EhLfImID5YzNPYUengEQlfFuVgnf8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fBmuVOpHQDKQEfjSZMeX3V4vQCyYwyRD2am8FKIdSh8fwEo0Ccs2IXCKCKcm8ioht IFP/uwCL77HoqJB6CcxqHNAkabIhuzPaa2/8r0ktgvVeBFFahkH7O5ILuTbweRGf8t XJUKehhSTYNkJQ/hkIymzBt3k5OGCF3Bf2ZCtchE= Date: Fri, 4 Mar 2022 15:17:08 +0100 From: Greg KH To: Martin Kepplinger Cc: mathias.nyman@intel.com, kernel@puri.sm, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: xhci: make XHCI_STOP_EP_CMD_TIMEOUT a module parameter Message-ID: References: <20220304113057.1477958-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220304113057.1477958-1-martin.kepplinger@puri.sm> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_RED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 04, 2022 at 12:30:57PM +0100, Martin Kepplinger wrote: > On the Librem 5 imx8mq system we've seen the stop endpoint command > time out regularly which results in the hub dying. > > While on the one hand we see "Port resume timed out, port 1-1: 0xfe3" > before this and on the other hand driver-comments suggest that the driver > might be able to recover instead of dying here, Sarah seemed to have a > workaround for this particulator problem in mind already: > > Make it a module parameter. So while it might not be the root cause for > the problem, do this to give users a workaround. This is not the 1990's, sorry, please do not add new module parameters. They modify code, when you want to modify an individual device. thanks, greg k-h