Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp195372rdb; Wed, 20 Dec 2023 09:37:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEoDwjQME5UpucT++0GPf/bGHkUYDOwZf3gNMCmiRPY/pw1p9oT5wzcgWNUwQECpgna8BNv X-Received: by 2002:a17:903:947:b0:1d3:f344:6b01 with SMTP id ma7-20020a170903094700b001d3f3446b01mr1667280plb.3.1703093866274; Wed, 20 Dec 2023 09:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703093866; cv=none; d=google.com; s=arc-20160816; b=VM0mU5fcb/EHfptQi0BH1EkwTjQUT69wjbPsfqt6mXsuTN+X9iVMmmPxJj9DGrV12Z 4uur4P5KR/Gx+HMAvVdFtm5rLXd9FXbvqPyDtp0aX+DKLfHM36YVFyf4h920fXERpq14 3ceDgjApKXh3l1afwMA4cbIT1g0OZAbSTA/C8/d7fro+ZZKJuvQR8DegUaeG/aCHptrC jCDWKysA6BxtxxWAVjU/RkDA0NV9kWjYq1XH+3Ee1D/7rZKOupADqoBj7BW8rXgZROeY EWEeYPySCVmrt2vVdsDtiNzc4UBGZNENLcWF+a+YvSDdn2hokio2O5By89cvM98OwsOj WipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=GnEOfo/anOWPxQKbFe9WTvHxFyLYv0rH36Sgz3O76EA=; fh=JsNlMqaT+BdhFQCFU3fU0qkIOs3IQmcRbBQymDskr9Y=; b=d69Y2aLsiqvu3RXI4TKkldjAiyutawWAJMlpJA04fRnk/kKGRlJ7h60uDdJz73pk5I 35VllDvi8vi0un3FpeHxmBkh3j5FedxLd1Tahh4B1n4yU+SkO0eNtDK4ypKOQ9zak2Wr 1PNOHe+hWQQABVsDCu0kZEhpDPqTIZTcXrpox+x0AvcbY4Xf7ooR0pBmzhFPRVV9Ediw L6shfGHSrk/eejMCu0m/nvZ+U7rDz0gGcnY25e2zZpRLE1VoYR0RU2HhWg7KSkj+qTwa o8klgBsGSdOP+5sp96qgCTTJJiCs2iwRiUuGjh2/Sv0lfwY4PqSjbsNju+XEN+iRAGY2 nUeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=aXXh4QTI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="MrbqF/6E"; spf=pass (google.com: domain of linux-kernel+bounces-7357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kroah.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v10-20020a1709029a0a00b001cfdd31f20esi21346467plp.267.2023.12.20.09.37.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 09:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=aXXh4QTI; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="MrbqF/6E"; spf=pass (google.com: domain of linux-kernel+bounces-7357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kroah.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 21F4EB23959 for ; Wed, 20 Dec 2023 17:37:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1226C481B5; Wed, 20 Dec 2023 17:37:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="aXXh4QTI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="MrbqF/6E" X-Original-To: linux-kernel@vger.kernel.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21A3E47A59; Wed, 20 Dec 2023 17:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kroah.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kroah.com Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 19A265C0442; Wed, 20 Dec 2023 12:37:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 20 Dec 2023 12:37:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1703093839; x=1703180239; bh=GnEOfo/anO WPxQKbFe9WTvHxFyLYv0rH36Sgz3O76EA=; b=aXXh4QTI7ED5bSnleEslOsioM6 YoRDVZ74YnQU0cOVdLvloTPUot0eUYa9XmQmN2yJx4fAfiTwaglQJkyS6T9A2Qu6 ZcY7a9HqWaMNV9Q5HKOpvH8p7dlXvfR4CPRtKfCl/23egGabG3cRvXr75CA1wlr1 MdcukxgH1L+piPaDe2wcRI4ojzltu5/v/EDHMiFghTnk/ifNQS564GvqhgDnp0/Z GgxGZBSLZeCP/l5n73prVvhcGKW8mW3EqCa5Rji5SZI05knYJyofk6yyxCTG3V3e 46/iRm0XjzN+Ja5gNL4UlxRA25HCshD6dwMIAL1C05GF6tm74rbKqc6QsjZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703093839; x=1703180239; bh=GnEOfo/anOWPxQKbFe9WTvHxFyLY v0rH36Sgz3O76EA=; b=MrbqF/6ESfm7v+lfWAl0Y0jTu/CYn+TBctauTik8BT2c 8ycFNg7CxokRozm2bz5/a0Zbk2b2m8T7MHqmKAOimGo+2v0KoBc1+SIUZD5/Hn9n 10B4A51PojaiUhTrQ59PGLpzq1ewmYWiFk/xD19o4K7n3D0PUrNWvqXqd+hF0sxA mLrzINgcPEUAv7ivEn5R9kHIypeJZ92R1CNPM3iHOJxdw99jhlbhHu/Om5RelZst rBVKty6LELb2Jikz7Idi0t51yRAX2OPIUJEejA3rZgVf6ua2bea/2X97xKH8Bnmq k1Iq+iCgxHJl6fnVioatlu8zfi/5lVc8cjqn+MPxwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduvddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgv ghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeehge dvvedvleejuefgtdduudfhkeeltdeihfevjeekjeeuhfdtueefhffgheekteenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhroh grhhdrtghomh X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Dec 2023 12:37:18 -0500 (EST) Date: Wed, 20 Dec 2023 18:30:53 +0100 From: Greg KH To: Werner Sembach Cc: Andreas Noever , Michael Jamet , Mika Westerberg , Yehezkel Bernat , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thunderbolt: Reduce retry timeout to speed up boot for some devices Message-ID: <2023122056-snowflake-visor-1262@gregkh> References: <20231220150956.230227-1-wse@tuxedocomputers.com> <2e00a0dc-5911-44ee-8c50-a8482eb44197@tuxedocomputers.com> <2023122012-spruce-unsteady-e187@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Dec 20, 2023 at 05:41:01PM +0100, Werner Sembach wrote: > > Am 20.12.23 um 17:04 schrieb Greg KH: > > On Wed, Dec 20, 2023 at 04:23:15PM +0100, Werner Sembach wrote: > > > Am 20.12.23 um 16:09 schrieb Werner Sembach: > > > > This is a followup to "thunderbolt: Workaround an IOMMU fault on certain > > > > systems with Intel Maple Ridge". > > > > > > > > It seems like the timeout can be reduced to 250ms. This reduces the overall > > > > delay caused by the retires to ~1s. This is about the time other things > > > > being initialized in parallel need anyway*, so like this the effective boot > > > > time is no longer compromised. > > > > > > > > *I only had a single device available for my measurements: A Clevo X170KM-G > > > > desktop replacement notebook. > > > > > > > > Signed-off-by: Werner Sembach > > > I wonder if this could also land in stable? Or would it be to risky? > > If it's really a bugfix now, why would it _not_ be relevant for stable? > > Because it changes a timeout that could cause issues if set to low: This > Patch sets to to 250ms. Set to 50ms it causes issues, currently it's 2000ms, > 2 people tested that 250ms is enough, but i don't know if this is a big > enough sample size for stable. Remember, the next kernel will be a stable kernel tree, just like the one after that. If it's good enough for Linus's tree, why wouldn't it be good enough for all stable trees? Either it works or it doesn't, none of this "we will break things when you move to a new kernel" stuff please. thanks, greg k-h