[PATCH 00/10] dwc MSI fixes, ARTPEC-6 EP mode support, ARTPEC-7 SoC support

From: Niklas Cassel
Date: Fri Oct 13 2017 - 12:12:30 EST


This is a series that adds:
- PCI endpoint mode support in the ARTPEC-6 driver.
- ARTPEC-7 SoC support in the ARTPEC-6 driver (the SoCs are very similar).
- Small fixes for MSI in designware-ep and designware-host,
needed to get endpoint mode support working for ARTPEC-6.

Niklas Cassel (10):
PCI: dwc: use DMA-API for allocating MSI data
PCI: designware-ep: set_msi should only set MMC bits
PCI: designware-ep: read-only registers need DBI_RO_WR_EN to be
writable
PCI: designware-ep: pre-allocate memory for MSI in dw_pcie_ep_init
PCI: artpec6: remove unused defines
PCI: dwc: artpec6: use BIT and GENMASK macros
PCI: dwc: artpec6: split artpec6_pcie_establish_link to smaller
functions
PCI: dwc: artpec6: add support for endpoint mode
PCI: dwc: make cpu_addr_fixup take struct dw_pcie as argument
PCI: dwc: artpec6: add support for the ARTPEC-7 SoC

.../devicetree/bindings/pci/axis,artpec6-pcie.txt | 5 +-
drivers/pci/dwc/Kconfig | 41 +-
drivers/pci/dwc/Makefile | 4 +-
drivers/pci/dwc/pci-dra7xx.c | 2 +-
drivers/pci/dwc/pcie-artpec6.c | 482 +++++++++++++++++++--
drivers/pci/dwc/pcie-designware-ep.c | 20 +-
drivers/pci/dwc/pcie-designware-host.c | 23 +-
drivers/pci/dwc/pcie-designware.c | 2 +-
drivers/pci/dwc/pcie-designware.h | 8 +-
9 files changed, 514 insertions(+), 73 deletions(-)

--
2.11.0