linux/drivers/pci
Lukas Wunner 5d03847175 thunderbolt: Use is_pciehp instead of is_hotplug_bridge
The thunderbolt driver sets up device link dependencies from hotplug ports
to the Host Router (aka Native Host Interface, NHI).  When resuming from
system sleep, this allows the Host Router to re-establish tunnels to
attached Thunderbolt devices before the hotplug ports resume.

To identify the hotplug ports, the driver utilizes the is_hotplug_bridge
flag which also encompasses ACPI slots handled by the ACPI hotplug driver.

Thunderbolt hotplug ports are always Hot-Plug Capable PCIe ports, so it is
more apt to identify them with the is_pciehp flag.

Similarly, hotplug ports on older Thunderbolt controllers have broken MSI
support and are quirked to use legacy INTx interrupts instead.  The quirk
identifies them with is_hotplug_bridge, even though all affected ports are
also matched by is_pciehp.  So use is_pciehp here as well.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
History 2025-08-14 06:34:12 +02:00
..
controller PCI: vmd: Fix wrong kfree() in vmd_msi_free() 2025-08-07 11:30:12 -05:00
endpoint Merge branch 'pci/endpoint/epf-vntb' 2025-07-31 16:11:46 -05:00
hotplug powerpc fixes for 6.17 #2 2025-08-03 19:15:04 -07:00
msi pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pcie pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pwrctrl PCI/pwrctrl: Add optional slot clock for PCI slots 2025-06-13 16:59:52 -05:00
switch PCI: switchtec: Add Microchip PCI100X device IDs 2025-01-21 10:47:28 -06:00
access.c PCI: Revert the cfg_access_lock lockdep mechanism 2024-06-04 12:10:05 -05:00
ats.c iommufd: Extend IOMMU_GET_HW_INFO to report PASID capability 2025-03-28 10:07:23 -03:00
bus.c PCI: Allow built-in drivers to use async initial probing 2025-07-15 11:23:33 -05:00
devres.c PCI: Remove redundant set of request functions 2025-05-20 07:39:15 +00:00
doe.c PCI/DOE: Expose DOE features via sysfs 2025-03-21 16:36:01 -05:00
ecam.c Revert "PCI: ecam: Allow cfg->priv to be pre-populated from the root port device" 2025-06-30 12:30:03 -05:00
host-bridge.c PCI: VMD: ACPI: Make ACPI companion lookup work for VMD bus 2021-09-02 17:59:58 +02:00
iomap.c PCI: Remove hybrid-devres usage warnings from kernel-doc 2025-05-20 07:39:16 +00:00
iov.c PCI/IOV: Allow drivers to control VF BAR size 2025-07-14 15:04:23 -05:00
irq.c PCI: Place interrupt related code into irq.c 2024-01-29 17:01:31 -06:00
Kconfig PCI: hv: Switch to msi_create_parent_irq_domain() 2025-07-11 12:57:00 +01:00
Makefile Merge branch 'pci/tph' 2024-11-25 13:40:55 -06:00
mmap.c PCI/sysfs: Compile pci-sysfs.c only if CONFIG_SYSFS=y 2024-03-05 16:08:43 -06:00
npem.c PCI/NPEM: Add _DSM PCIe SSD status LED management 2024-09-06 11:37:24 -05:00
of.c PCI: of: Add of_pci_get_equalization_presets() API 2025-04-19 19:42:33 +05:30
of_property.c PCI: of: Create device tree PCI host bridge node 2025-02-28 15:13:51 -06:00
p2pdma.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
pci-acpi.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci-bridge-emul.c PCI: Rename CRS Completion Status to RRS 2024-09-10 19:52:30 -05:00
pci-bridge-emul.h PCI: pci-bridge-emul: Set position of PCI capabilities to real HW value 2022-08-25 12:07:56 +02:00
pci-driver.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci-label.c PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functions 2021-06-03 22:14:47 -05:00
pci-mid.c PCI/PM: Switch to new Intel CPU model defines 2024-06-11 17:08:14 -05:00
pci-pf-stub.c PCI: Add missing MODULE_DESCRIPTION() macros 2024-07-08 08:35:35 +00:00
pci-stub.c PCI: Add missing MODULE_DESCRIPTION() macros 2024-07-08 08:35:35 +00:00
pci-sysfs.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
pci.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
pci.h Merge branch 'pci/controller/linkup-fix' 2025-07-31 16:11:47 -05:00
probe.c pci-v6.17-changes 2025-08-01 13:59:07 -07:00
proc.c s390/pci: Introduce pdev->non_mappable_bars and replace VFIO_PCI_MMAP 2025-03-21 14:54:16 -05:00
quirks.c thunderbolt: Use is_pciehp instead of is_hotplug_bridge 2025-08-14 06:34:12 +02:00
remove.c Merge branch 'pci/devtree-create' 2025-03-27 13:14:45 -05:00
rom.c PCI: Prefer 'unsigned int' over bare 'unsigned' 2021-10-27 13:41:22 -05:00
search.c PCI: Add pci_get_base_class() helper 2023-09-28 16:49:44 -05:00
setup-bus.c PCI/IOV: Add pci_resource_num_to_vf_bar() to convert VF BAR number to/from IOV resource 2025-07-14 15:03:23 -05:00
setup-res.c PCI/IOV: Allow IOV resources to be resized in pci_resize_resource() 2025-07-14 15:04:18 -05:00
slot.c PCI: hotplug: Inline pci_hp_{create,remove}_module_link() 2025-03-04 17:00:12 -06:00
syscall.c PCI: Use consistent put_user() pointer types 2023-08-25 08:15:13 -05:00
tph.c PCI/TPH: Expose pcie_tph_get_st_table_size() 2025-07-23 01:27:32 -04:00
vc.c PCI/VC: Use FIELD_GET() 2023-10-24 16:55:45 -05:00
vgaarb.c pci-v6.7-changes 2023-11-02 14:05:18 -10:00
vpd.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
xen-pcifront.c x86: always initialize xen-swiotlb when xen-pcifront is enabling 2023-07-31 17:54:27 +02:00