linux/Documentation/PCI
Kuppuswamy Sathyanarayanan b6cf1a42f9 PCI/ERR: Remove service dependency in pcie_do_recovery()
Previously we passed the PCIe service type parameter to pcie_do_recovery(),
where reset_link() looked up the underlying pci_port_service_driver and its
.reset_link() function pointer. Instead of using this roundabout way, we
can just pass the driver-specific .reset_link() callback function when
calling pcie_do_recovery() function.

This allows us to call pcie_do_recovery() from code that is not a PCIe port
service driver, e.g., Error Disconnect Recover (EDR) support.

Remove pcie_port_find_service() and pcie_port_service_driver.reset_link
since they are now unused.

Link: https://lore.kernel.org/r/60e02b87b526cdf2930400059d98704bf0a147d1.1585000084.git.sathyanarayanan.kuppuswamy@linux.intel.com
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2020-03-28 13:18:54 -05:00
..
endpoint Documentation: PCI: convert endpoint/pci-test-howto.txt to reST 2019-05-30 17:54:34 -05:00
acpi-info.rst Documentation: PCI: convert acpi-info.txt to reST 2019-05-30 17:54:32 -05:00
index.rst Documentation PCI: Fix pciebus-howto.rst filename typo 2019-08-15 12:12:38 -05:00
msi-howto.rst Documentation: PCI: Fix pci_alloc_irq_vectors() function name typo 2019-12-30 08:21:29 -06:00
pci-error-recovery.rst Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-06 18:44:57 -07:00
pci-iov-howto.rst Documentation: PCI: convert pci-iov-howto.txt to reST 2019-05-30 17:54:32 -05:00
pci.rst Documentation: PCI: convert pci.txt to reST 2019-05-30 17:52:53 -05:00
pcieaer-howto.rst PCI/ERR: Remove service dependency in pcie_do_recovery() 2020-03-28 13:18:54 -05:00
pciebus-howto.rst Documentation PCI: Fix pciebus-howto.rst filename typo 2019-08-15 12:12:38 -05:00