Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp334761rdb; Thu, 2 Nov 2023 05:19:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/LcMpcLF/yDttatV9HEomWBQ5VKdygEahJ9FPEbxlssOyeojjY8Ys1Xah3hQE0yRI7AL+ X-Received: by 2002:a05:6a00:18a4:b0:690:f877:aa1e with SMTP id x36-20020a056a0018a400b00690f877aa1emr12121331pfh.12.1698927571212; Thu, 02 Nov 2023 05:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698927571; cv=none; d=google.com; s=arc-20160816; b=m/7sDzbdFEd4N2JKU7DjHo2ePBpsNkMsqLbnS/HDjiGk1NuHmEjx88ew0LLuH7lcy7 12U++PS5NOVvF0yPU6CGUqovsYVkhoEiYVJHrtC8avyEjl3jO0jMT3VWdfQQe94qn1ld E2zinaBU/S2tYSVleAK4sPTq3LQu9nhMaFEI76MXV3khDJLfSyi3Xe069yOLzHeUe1u6 Y8Tz+ju/CsPGBCjPYHZ+AXHseblQid0fJdHCo/BIGodSKQ79g112YrBM7Stg7xm2XumF J6VMiXb6diEYEjh1uOjthU2DiyYUySvVkwsWEinYlLqU9rL6SR4ibgb60/Q7PNka3jZL egGw== 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=ST50fbuWF9feHRc2mY1PcYr/dB9I9AhsmTwQxNcle0o=; fh=scAKORa2yMY4YPGMk7QSKAQDVOXm8MVbLoT9uwkhkzE=; b=i0ROx33JgHrguFy42Xvx7JUjvYX/Two5C8bEzq4860b/97QuYPvNQea4sd2GCazllv uIXH8oYEgZ2bnicAwIofEMhLBmWX4GgDaAjK8pfg5Oat1hVMDwO216dz/R/1WpWojhwB uJgrMTecBzLU3K8EJoFKnl4V66jsTNLjR2Rce0X+L881gqWqCKT65Ngi/jZyoQ+7bHad T8PptyqXbBgAyz2C8KNpaS5bTsjN1oeLCX7aTj1oAbZvHsE/Pq+fbX1zyKtaFWp0dOif x4E+uw1UpLqgYmc4DjUAg7DbT/YOuq1D/3WVMWhsd8jKnsjISPXieSEtXfN1k6x12efV V1BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Upu8vQa8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bn10-20020a056a02030a00b00578a98c0687si2008069pgb.99.2023.11.02.05.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:19:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Upu8vQa8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 37FC480F7E48; Thu, 2 Nov 2023 05:19:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345888AbjKBMRe (ORCPT + 99 others); Thu, 2 Nov 2023 08:17:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346863AbjKBMR3 (ORCPT ); Thu, 2 Nov 2023 08:17:29 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E35B112; Thu, 2 Nov 2023 05:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698927442; x=1730463442; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WKRnkNW/XER8dXSWKZi5aAoaOJTp9xTuNC9BpNIc3/4=; b=Upu8vQa8eesss8OOUad5/gQfiZ4N+0O7ZfGtUJ+mdrM2dq6rPJ8UThPF uIuybF27d1mjoVmY1OZYvhg9xVp6u2AFHCyMIL4qLgofQJGAEyf8zX3dd 8+JrIL2sbTu3jgABC4wz9QrtpWr1vHP78Dwo9AY4ATX0aaDju12mhdisW z4zMyn5FnKW30JFsxLl7RRGbPIOh7T1dZPMxLLM72xIiFBH9qVfDdmJ7c gyEnCJSrBUoz9FsqYqS7OzKCGDN51C8oqewrKuuY5wvjlwd0wkkCZYjq1 EbrN1XJYDu2KvEpa9YzCoi9DrWy809RtlmFMaMX2MYySXD1S5ronzvzAX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="453000884" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="453000884" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 05:17:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="1092689422" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1092689422" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 02 Nov 2023 05:17:18 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 8ACDD54A; Thu, 2 Nov 2023 14:17:17 +0200 (EET) Date: Thu, 2 Nov 2023 14:17:17 +0200 From: Mika Westerberg To: Bjorn Helgaas Cc: Mario Limonciello , bhelgaas@google.com, andreas.noever@gmail.com, michael.jamet@intel.com, YehezkelShB@gmail.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Alexander.Deucher@amd.com Subject: Re: [PATCH 2/2] PCI: Ignore PCIe ports used for tunneling in pcie_bandwidth_available() Message-ID: <20231102121717.GL17433@black.fi.intel.com> References: <20231102103108.GK17433@black.fi.intel.com> <20231102120739.GA114661@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231102120739.GA114661@bhelgaas> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 05:19:26 -0700 (PDT) On Thu, Nov 02, 2023 at 07:07:39AM -0500, Bjorn Helgaas wrote: > On Thu, Nov 02, 2023 at 12:31:08PM +0200, Mika Westerberg wrote: > > On Wed, Nov 01, 2023 at 08:14:31PM -0500, Mario Limonciello wrote: > > > On 11/1/2023 17:52, Bjorn Helgaas wrote: > > > > > Lukas' brief intro in > > > > https://lore.kernel.org/all/20230925141930.GA21033@wunner.de/ really > > > > helped me connect a few dots, because things like > > > > Documentation/admin-guide/thunderbolt.rst assume we already know those > > > > details. > > > > > > Thanks for sharing that. If I move the detection mechanism as I suggested > > > above I'll reference some of that as well in the commit message to explain > > > what exactly a tunneled port is. > > > > I'm not sure it makes sense to explain from the zero all this stuff that > > people can easily look up from the corresponding spec, such as PCIe or > > USB. > > I don't know if it needs to be in the commit log. > > I mentioned thunderbolt.rst because the text at > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/thunderbolt.rst?id=v6.6#n6 > assumes that we know the terms "host router", "host controller", > "router", "tunnel", "connection manager", and I don't think that's a > good assumption in that documentation. > > A little bit of introduction based on Lukas' text could improve that. All these are explained in the USB4 spec, I wonder if we should just link that in the document rather than expaining all of them there. Anyway, point taken, thanks for the feedback!