[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231103192058.GA164718@bhelgaas>
Date: Fri, 3 Nov 2023 14:20:58 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Mario Limonciello <mario.limonciello@....com>
Cc: Karol Herbst <kherbst@...hat.com>, Lyude Paul <lyude@...hat.com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Hans de Goede <hdegoede@...hat.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Lukas Wunner <lukas@...ner.de>,
"open list:THUNDERBOLT DRIVER" <linux-usb@...r.kernel.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
"open list:PCI SUBSYSTEM" <linux-pci@...r.kernel.org>,
"open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS"
<dri-devel@...ts.freedesktop.org>,
"open list:X86 PLATFORM DRIVERS"
<platform-driver-x86@...r.kernel.org>,
Andreas Noever <andreas.noever@...il.com>,
David Airlie <airlied@...il.com>,
Marek Behún <kabel@...nel.org>,
"open list:RADEON and AMDGPU DRM DRIVERS"
<amd-gfx@...ts.freedesktop.org>,
"open list:ACPI" <linux-acpi@...r.kernel.org>,
Danilo Krummrich <dakr@...hat.com>,
"open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS"
<nouveau@...ts.freedesktop.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Michael Jamet <michael.jamet@...el.com>,
Mark Gross <markgross@...nel.org>,
Xinhui Pan <Xinhui.Pan@....com>,
open list <linux-kernel@...r.kernel.org>,
Daniel Vetter <daniel@...ll.ch>,
Yehezkel Bernat <YehezkelShB@...il.com>,
Pali Rohár <pali@...nel.org>,
"Maciej W . Rozycki" <macro@...am.me.uk>
Subject: Re: [PATCH v2 0/9] Improvements to pcie_bandwidth_available() for
eGPUs
On Fri, Nov 03, 2023 at 02:07:49PM -0500, Mario Limonciello wrote:
> Downstream drivers are getting the wrong values from
> pcie_bandwidth_available() which is causing problems for performance
> of eGPUs.
>
> This series overhauls Thunderbolt related device detection and uses
> the changes to change the behavior of pcie_bandwidth_available().
>
> NOTE: This series is currently based on top of v6.6 + this change that
> will be merged for 6.7:
> Link: https://patchwork.freedesktop.org/patch/564738/
Thanks, Mario, I'll look at this soon after v6.7-rc1 (probably Nov
12), so the amdgpu patch should be in mainline by then.
> v1->v2:
> * Rename is_thunderbolt
> * Look for _DSD instead of link
> * Drop pci_is_thunderbolt_attached() from all drivers
> * Adjust links
> * Adjust commit messages
> * Add quirk for Tiger Lake
>
> Mario Limonciello (9):
> drm/nouveau: Switch from pci_is_thunderbolt_attached() to
> dev_is_removable()
> drm/radeon: Switch from pci_is_thunderbolt_attached() to
> dev_is_removable()
> PCI: Drop pci_is_thunderbolt_attached()
> PCI: Move the `PCI_CLASS_SERIAL_USB_USB4` definition to common header
> PCI: pciehp: Move check for is_thunderbolt into a quirk
> PCI: Rename is_thunderbolt to is_tunneled
> PCI: ACPI: Detect PCIe root ports that are used for tunneling
> PCI: Exclude PCIe ports used for tunneling in
> pcie_bandwidth_available()
> PCI: Add a quirk to mark 0x8086 : 0x9a23 as supporting PCIe tunneling
>
> drivers/gpu/drm/nouveau/nouveau_vga.c | 6 +-
> drivers/gpu/drm/radeon/radeon_device.c | 4 +-
> drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
> drivers/pci/hotplug/pciehp_hpc.c | 6 +-
> drivers/pci/pci-acpi.c | 16 ++++++
> drivers/pci/pci.c | 76 +++++++++++++++++---------
> drivers/pci/probe.c | 2 +-
> drivers/pci/quirks.c | 31 +++++++++++
> drivers/platform/x86/apple-gmux.c | 2 +-
> drivers/thunderbolt/nhi.h | 2 -
> include/linux/pci.h | 25 +--------
> include/linux/pci_ids.h | 1 +
> 12 files changed, 109 insertions(+), 64 deletions(-)
>
> --
> 2.34.1
>
Powered by blists - more mailing lists