[PATCH v2 0/5] PCIe aardvark controller improvements
From: Pali Rohár
Date: Tue Aug 04 2020 - 07:58:45 EST
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.
This series applies on top of Linus' master branch.
Marek & Pali
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