Skip to content

dwc MSI fixes, ARTPEC-6 EP mode support, ARTPEC-7 SoC support

Niklas Cassel linux-devicetree linux-omap linux-pci lkml 6 versions – Applied

Status from this message: Applied to pci/dwc for v4.16.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest18 patches 23 repliesApplied
  2. v518 patches 16 repliesSuperseded
  3. v417 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v317 patches4 repliesSuperseded
v217 patches12 repliesSuperseded
v110 patches20 repliesSuperseded

Changes in v6 from the cover letter

-Dropped GFP_DMA32 from "PCI: dwc: Use the DMA-API to get the MSI address"
so that we use the exact same GFP flags as before.
-Rewrote commit message for "PCI: dwc: Make cpu_addr_fixup take struct dw_pcie as argument" to be more detailed.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/18PCI: dwc: Use the DMA-API to get the MSI addressdrivers/pci/dwc/pcie-designware-host.c drivers/pci/dwc/pcie-designware.h+14 -43 replies
2/18PCI: designware-ep: dw_pcie_ep_set_msi() should only set MMC bitsdrivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware.h+4 -12 replies
3/18PCI: designware-ep: Read-only registers need DBI_RO_WR_EN to be writabledrivers/pci/dwc/pcie-designware-ep.c+8 -02 replies
4/18PCI: designware-ep: Pre-allocate memory for MSI in dw_pcie_ep_initdrivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware.h+12 -02 replies
5/18PCI: designware-ep: Remove static keyword from dw_pcie_ep_reset_bar()drivers/pci/dwc/pci-dra7xx.c drivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware.h+6 -100 replies
6/18PCI: designware-ep: Add generic function for raising MSI irqdrivers/pci/dwc/pcie-designware-ep.c drivers/pci/dwc/pcie-designware.h+44 -07 replies
7/18PCI: dwc: dra7xx: Refactor Kconfig and Makefile handling for host/ep modedrivers/pci/dwc/Kconfig drivers/pci/dwc/Makefile+23 -260 replies
8/18PCI: dwc: dra7xx: Assign pp->ops in dra7xx_add_pcie_port() rather than in probedrivers/pci/dwc/pci-dra7xx.c+2 -40 replies
9/18PCI: dwc: dra7xx: Help compiler to remove unused codedrivers/pci/dwc/pci-dra7xx.c+10 -01 reply
10/18PCI: dwc: artpec6: Remove unused definesdrivers/pci/dwc/pcie-artpec6.c+0 -30 replies
11/18PCI: dwc: artpec6: Use BIT and GENMASK macrosdrivers/pci/dwc/pcie-artpec6.c+17 -170 replies
12/18PCI: dwc: artpec6: Split artpec6_pcie_establish_link() into smaller functionsdrivers/pci/dwc/pcie-artpec6.c+29 -260 replies
13/18bindings: PCI: artpec: Add support for endpoint modeDocumentation/devicetree/bindings/pci/axis,artpec6-pcie.txt+2 -10 replies
14/18PCI: dwc: artpec6: Add support for endpoint modedrivers/pci/dwc/Kconfig drivers/pci/dwc/pcie-artpec6.c+164 -110 replies
15/18PCI: dwc: Make cpu_addr_fixup take struct dw_pcie as argumentdrivers/pci/dwc/pci-dra7xx.c drivers/pci/dwc/pcie-artpec6.c drivers/pci/dwc/pcie-designware.c +1 more+17 -71 reply
16/18PCI: dwc: artpec6: Deassert the core before waiting for PHYdrivers/pci/dwc/pcie-artpec6.c+29 -160 replies
17/18bindings: PCI: artpec: Add support for the ARTPEC-7 SoCDocumentation/devicetree/bindings/pci/axis,artpec6-pcie.txt+2 -00 replies
18/18PCI: dwc: artpec6: Add support for the ARTPEC-7 SoCdrivers/pci/dwc/pcie-artpec6.c+183 -40 replies

Reviews trailers per patch

12 of 18 patches have a Reviewed-by or Acked-by.

PatchKishon Vijay Abraham IRob HerringJoao PintoJingoo Han
1/18A-b A-b
2/18A-b A-b
3/18A-b A-b
4/18A-b A-b
5/18A-b
6/18A-b A-b
7/18A-b
8/18A-b
9/18A-b
10/18
11/18
12/18
13/18A-b
14/18
15/18A-b
16/18
17/18A-b
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [PATCH v6 00/18] dwc MSI fixes, ARTPEC-6 EP mode support, ARTPEC-7 SoC support

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.
- Cleanups in pci-dra7xx to better prepare for endpoint mode in other DWC based PCIe drivers.

Changes since V5:
-Dropped GFP_DMA32 from "PCI: dwc: Use the DMA-API to get the MSI address"
so that we use the exact same GFP flags as before.
-Rewrote commit message for "PCI: dwc: Make cpu_addr_fixup take struct dw_pcie as argument" to be more detailed.

Niklas Cassel (18):
PCI: dwc: Use the DMA-API to get the MSI address
PCI: designware-ep: dw_pcie_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: designware-ep: Remove static keyword from dw_pcie_ep_reset_bar()
PCI: designware-ep: Add generic function for raising MSI irq
PCI: dwc: dra7xx: Refactor Kconfig and Makefile handling for host/ep
mode
PCI: dwc: dra7xx: Assign pp->ops in dra7xx_add_pcie_port() rather than
in probe
PCI: dwc: dra7xx: Help compiler to remove unused code
PCI: dwc: artpec6: Remove unused defines
PCI: dwc: artpec6: Use BIT and GENMASK macros
PCI: dwc: artpec6: Split artpec6_pcie_establish_link() into smaller
functions
bindings: PCI: artpec: Add support for endpoint mode
PCI: dwc: artpec6: Add support for endpoint mode
PCI: dwc: Make cpu_addr_fixup take struct dw_pcie as argument
PCI: dwc: artpec6: Deassert the core before waiting for PHY
bindings: PCI: artpec: Add support for the ARTPEC-7 SoC
PCI: dwc: artpec6: Add support for the ARTPEC-7 SoC

 .../devicetree/bindings/pci/axis,artpec6-pcie.txt  |   5 +-
 drivers/pci/dwc/Kconfig                            |  68 +--
 drivers/pci/dwc/Makefile                           |   4 +-
 drivers/pci/dwc/pci-dra7xx.c                       |  27 +-
 drivers/pci/dwc/pcie-artpec6.c                     | 470 ++++++++++++++++++---
 drivers/pci/dwc/pcie-designware-ep.c               |  59 ++-
 drivers/pci/dwc/pcie-designware-host.c             |  15 +-
 drivers/pci/dwc/pcie-designware.c                  |   2 +-
 drivers/pci/dwc/pcie-designware.h                  |  22 +-
 9 files changed, 554 insertions(+), 118 deletions(-)
Signature · 6 lines
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html