]> www.infradead.org Git - users/hch/xfs.git/commit
Merge branch 'pci/hotplug'
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Nov 2024 19:40:44 +0000 (13:40 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 25 Nov 2024 19:40:44 +0000 (13:40 -0600)
commitdcd12456b356c0e132a9219ffe6e6e538975381d
tree6783d1fcd768d9bda3b9155b785bd42c92d8707c
parent77ac2e28f13f18b50c7ecf9cbfec392e9d871f14
parentc7acef99642b763ba585f4a43af999fcdbcc3dc4
Merge branch 'pci/hotplug'

- Remove unused cpcihp struct cpci_hp_controller_ops.hardware_test
  (Guilherme Giacomo Simoes)

- Remove unused cpqphp struct ctrl_dbg.ctrl (Christophe JAILLET)

- Clean up cpqphp PCIBIOS_* return value confusion (Ilpo Järvinen)

- Use pci_bus_read_dev_vendor_id() instead of hand-coded presence detection
  in cpqphp (Ilpo Järvinen)

- Simplify cpqphp enumeration, which is already simple-minded and doesn't
  handle devices below hot-added bridges (Ilpo Järvinen)

- Retain a reference to the pci_bus for the lifetime of a pci_slot to avoid
  a use-after-free when the thunderbolt driver resets USB4 host routers on
  boot, causing hotplug remove/add of downstream docks or other devices
  (Lukas Wunner)

* pci/hotplug:
  PCI: Fix use-after-free of slot->bus on hot remove
  PCI: cpqphp: Simplify PCI_ScanBusForNonBridge()
  PCI: cpqphp: Use define to read class/revision dword
  PCI: cpqphp: Use pci_bus_read_dev_vendor_id() to detect presence
  PCI: cpqphp: Fix PCIBIOS_* return value confusion
  PCI: cpqphp: Remove unused struct ctrl_dbg.ctrl
  PCI: cpcihp: Remove unused struct cpci_hp_controller_ops.hardware_test