Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp721727rdb; Fri, 22 Dec 2023 03:09:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdIzoAasNmli5o4GR/1RKmPshY/nTNtpXvQd1KMMJz8vkzVgnFYwl9BpguNr1DqFkFUO/C X-Received: by 2002:a05:6358:4291:b0:174:cd13:1017 with SMTP id s17-20020a056358429100b00174cd131017mr634873rwc.31.1703243353525; Fri, 22 Dec 2023 03:09:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703243353; cv=none; d=google.com; s=arc-20160816; b=kMTFR1rmswYKL8AGsEb8ajnQXOdQPy69WIM0WIqKNTKgMuSV5zdRBEigzie1EILfAR alWiVWv/jdTeFUuCmKzekptcITBd444QkKcIhhaz5oKgAmQyXagIsT2ClT721sx5JGuo Hr8FODUiyPJl3jOlvA17bK7kXAqt8ziWTPft5+5rVNFTLmOspQnlfIIcaK5oNzjrsm42 WD9FFQBWEy2GqF0cns/nYN17LBVkRPu3MZ/cgVP8ULaST4WiwbUHF+DayEHF3T1q4Joh 5wl+JFvH7Msmv4JelLiY3efRjFhEEDVqUBHIuYP8NkITeiKLqpKT1XA4vrTXJAdJzWwQ niCA== 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:dkim-signature; bh=ziRKuUp+S18KutChcRXamdHzpDhPKZAsCa3D+hQodng=; fh=x/Q/OtsVBncNGaI9Ll1jc+n0gii16zxofQwPAkdlgQE=; b=rnHu2LbK8UNAIClRuAN4+aHMc6r1IJ/8+ueby8nkjgAGPEzI0h8+P+V+IQEhsKoyTE A68zlllW4niWIL2O8h245Cf1htgH5iX5h+CxxEM8QOIDapmVtIi1z1u8/DM7rSgNwcRe ATMi0jxwdbZlRR9RhjfDpilU3kb535o9GxK9nbmLUM3QdjcCNIZWUvrQJwihrlIV26TZ bIC1aSIGJguQ8oe5WSDHsXPIvvle+IlLTR8RI2tcFhNjxxaYGKUdhKR+BejsJ+Zw4TLg f/YnWVnUEWHBaabT6km/lmskpYefcKcVTjtKtyFGCC/LIODozSLWUNyOrS9kLVca5nY/ aY/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="OHnc36/2"; spf=pass (google.com: domain of linux-kernel+bounces-9628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k4-20020aa792c4000000b006bf531dd685si3078742pfa.64.2023.12.22.03.09.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:09:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="OHnc36/2"; spf=pass (google.com: domain of linux-kernel+bounces-9628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 37211289BCA for ; Fri, 22 Dec 2023 11:03:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20D7815AD7; Fri, 22 Dec 2023 11:03:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OHnc36/2" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 A9639156C6; Fri, 22 Dec 2023 11:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703242990; x=1734778990; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qo9kVLRTA5g9uD10OHLNcwX9WmuI9qyqNSWDkMj1SPs=; b=OHnc36/2Wv2ZCQsxVwwMGfhVOSDtRiTdhLuisJNKSAzbyzB98A44yYh/ QWDh2BEePDk/mGLRYPUABfTZiquayW3CV1NjG+yzxYXEEjUhGe9PpUWBu n0SPbkewTB5S/Ja/QKDjq96NiF7BhxTjtHnqGmnYfK+sV4R4+zxoVrgCb E/DdGxEMoTTR6slZwsTlRnYYCdQN83s8LwEJDU2qD8DmlYGU+YjcO+ruA lM4R704fmNoCrWIz6jAvrP6VJP1LZ02+1sCYESIa6LpH2apl/jyo5WR0v 6EPXKD+4+BLDeGz1gJ6yeMWvKVFRPMMd+z8XIKoJjmOnt3sC7F13Dkws0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="2951428" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="2951428" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 03:03:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="900396146" X-IronPort-AV: E=Sophos;i="6.04,296,1695711600"; d="scan'208";a="900396146" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga004.jf.intel.com with ESMTP; 22 Dec 2023 03:03:06 -0800 Received: by black.fi.intel.com (Postfix, from userid 1001) id 5252B305; Fri, 22 Dec 2023 13:03:05 +0200 (EET) Date: Fri, 22 Dec 2023 13:03:05 +0200 From: Mika Westerberg To: Werner Sembach Cc: Andreas Noever , Michael Jamet , 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: <20231222110305.GF2543524@black.fi.intel.com> References: <20231220150956.230227-1-wse@tuxedocomputers.com> 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=utf-8 Content-Disposition: inline In-Reply-To: <20231220150956.230227-1-wse@tuxedocomputers.com> On Wed, Dec 20, 2023 at 04:09:56PM +0100, Werner Sembach wrote: > 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 Applied to thunderbolt.git/next, thanks!