[PATCH v3 0/5] PCIe aardvark controller improvements

Pali Rohár
2020-09-07T11:20:52Z

Hi,

we have some more improvements for PCIe aardvark controller (Armada 3720
SOC - EspressoBIN and Turris MOX).

The main improvement is that with these patches the driver can be compiled
as a module, and can be reloaded at runtime.

Marek & Pali

Changes in V3:
* Rebased on top of the v5.9-rc1 release

Changes in V2 for patch 4/5:
* Protect pci_stop_root_bus() and pci_remove_root_bus() function calls by
pci_lock_rescan_remove() and pci_unlock_rescan_remove()

Pali Rohár (5):
PCI: aardvark: Fix compilation on s390
PCI: aardvark: Check for errors from pci_bridge_emul_init() call
PCI: pci-bridge-emul: Export API functions
PCI: aardvark: Implement driver 'remove' function and allow to build
it as module
PCI: aardvark: Move PCIe reset card code to advk_pcie_train_link()

drivers/pci/controller/Kconfig | 2 +-
drivers/pci/controller/pci-aardvark.c | 104 ++++++++++++++++----------
drivers/pci/pci-bridge-emul.c | 4 +
3 files changed, 71 insertions(+), 39 deletions(-)

--
2.20.1