Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp107254rdb; Thu, 21 Dec 2023 04:21:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuq8e8FQL7tQ8hxwk7UFqwhwnvGiYZAOpoZkXoSqDSfvmjna/c2lYSgaD5vr+baVijJUF9 X-Received: by 2002:a05:6122:4492:b0:4b6:c59e:21fc with SMTP id cz18-20020a056122449200b004b6c59e21fcmr771114vkb.19.1703161275667; Thu, 21 Dec 2023 04:21:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703161275; cv=none; d=google.com; s=arc-20160816; b=w3+hT9QrpYG/k9Fz6RbxKJMso62AmyQna4HQW11sMP/uqeTiLHdanyZv14zWh+mLJn 5VIYjwieUF0cAxHVYvxG9NiVSf+6rxN+Hh3RwGFgLFWIigqsA0guGw4W+eXshSXpIDfl Vdavg4hnOI4bRipubpEm7gWAqwMWdjb2++PNqRFu/gdYHsJ7bLFEcywLfpSjW3fu7Arc WHQvLfsybMydfp4vuVaiT35qNzxm0p+sIfy4s8RNygdLGAwMfG7UShy/Koc2XX2Liaad f3VD9YtSgmXybeE2ta190PVoH4uIf+2rK5qAVYEXcvm9vyt0wzfVdyP/KPe7KH32a4GX /x/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TaTXdxxi1qEmCPfc18xKCwxA9qIyX/tmNomXuvnbtvo=; fh=o/Jel+6f1E6nCWogJyEx0NyuGkj/gotdOLPhdXuI0Gk=; b=lLZGA0tdIvpytUbsRjjdegKidLUfvq7iWClrWMC/Dv7PqGozg8OA+6fP0au/zvPr7V C9HaL+T8ipljcQnYWan/c1lGVAxmz8aayt4YMZYlDqj/DWUWcSTUiY1Ew8uBahyz+dW3 eAyXMLYcmYzjE97gptYAaGHsJn3Odp8NdNlvIC16iCnQ9aH4Svpi4Rah4I1zxcBI67qA WD9nDPVHNEyY+WJ47C6jzmEUaScHUkEoHa0R77catGIsclDK4l4lknV9qoHif7tnrsO6 1agwp/K6+oU4iUtVdUFVOn6nnsKF88sMrWXWg2bSF3vZkbqSF/A8jjd1srVTLjS2sOIV kcaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=GkwhSoJP; spf=pass (google.com: domain of linux-kernel+bounces-8323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 4-20020ac84e84000000b004277c91c3c1si2085946qtp.50.2023.12.21.04.21.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 04:21:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=GkwhSoJP; spf=pass (google.com: domain of linux-kernel+bounces-8323-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8323-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 635311C238BB for ; Thu, 21 Dec 2023 12:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDC786EB61; Thu, 21 Dec 2023 12:21:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="GkwhSoJP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED2AA2206F; Thu, 21 Dec 2023 12:21:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Received: from [192.168.42.27] (p5de453e7.dip0.t-ipconnect.de [93.228.83.231]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPSA id 467E32FC004D; Thu, 21 Dec 2023 13:21:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1703161260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TaTXdxxi1qEmCPfc18xKCwxA9qIyX/tmNomXuvnbtvo=; b=GkwhSoJP79bqpFsKzA7v/FduanVrV1FlmEb12tG4qGDT0z7ZDIiJZMVdYZEyzHiSyPwoX8 YPpPrNVfibGUxTrWHcWQtmm2YVpRE3zdv1mISQ77YHtCR6nnpvqoXHBtIDN5OtyIPYXU9R Z8Puf/uaE6aN9OVFLVxZIw9TOlKLHdQ= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com Message-ID: <4aa4b757-13eb-4653-99eb-16aec7c8a3d9@tuxedocomputers.com> Date: Thu, 21 Dec 2023 13:20:59 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Werner Sembach Subject: Re: [PATCH] thunderbolt: Reduce retry timeout to speed up boot for some devices To: Greg KH Cc: Andreas Noever , Michael Jamet , Mika Westerberg , Yehezkel Bernat , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231220150956.230227-1-wse@tuxedocomputers.com> <2e00a0dc-5911-44ee-8c50-a8482eb44197@tuxedocomputers.com> <2023122012-spruce-unsteady-e187@gregkh> Content-Language: de-DE, en-US In-Reply-To: <2023122012-spruce-unsteady-e187@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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? edit: Sorry if this is the 3rd time I send this, I got mail server errors (hopefully fixed now) and am not sure if it reached out 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. The advantage is significantly faster boot time on affected devices (~12s down to ~3s), however they do already work fine without it. Kind regards, Werner > > thanks, > > greg k-h