[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231103190758.82911-1-mario.limonciello@amd.com>
Date: Fri, 3 Nov 2023 14:07:49 -0500
From: Mario Limonciello <mario.limonciello@....com>
To: 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>
CC: Danilo Krummrich <dakr@...hat.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Xinhui Pan <Xinhui.Pan@....com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Mark Gross <markgross@...nel.org>,
"Andreas Noever" <andreas.noever@...il.com>,
Michael Jamet <michael.jamet@...el.com>,
Yehezkel Bernat <YehezkelShB@...il.com>,
Pali Rohár <pali@...nel.org>,
Marek Behún <kabel@...nel.org>,
"Maciej W . Rozycki" <macro@...am.me.uk>,
Manivannan Sadhasivam <mani@...nel.org>,
Mario Limonciello <mario.limonciello@....com>,
"open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS"
<dri-devel@...ts.freedesktop.org>,
"open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS"
<nouveau@...ts.freedesktop.org>,
"open list" <linux-kernel@...r.kernel.org>,
"open list:RADEON and AMDGPU DRM DRIVERS"
<amd-gfx@...ts.freedesktop.org>,
"open list:PCI SUBSYSTEM" <linux-pci@...r.kernel.org>,
"open list:ACPI" <linux-acpi@...r.kernel.org>,
"open list:X86 PLATFORM DRIVERS"
<platform-driver-x86@...r.kernel.org>,
"open list:THUNDERBOLT DRIVER" <linux-usb@...r.kernel.org>
Subject: [PATCH v2 0/9] Improvements to pcie_bandwidth_available() for eGPUs
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/
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