Skip to content

PCI: dwc: Enables MSI-X driver support

Gustavo Pimentel linux-pci 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest4 patches 2 repliesIn review
  2. v103 patches 3 repliesSuperseded
  3. v93 patches 7 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v89 patches2 repliesSuperseded
v79 patches1 replySuperseded
v39 patches10 repliesSuperseded

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: dwc: Move MSI IRQs allocation to IRQ domains hierarchical APIdrivers/pci/dwc/pci-exynos.c drivers/pci/dwc/pci-imx6.c drivers/pci/dwc/pci-keystone-dw.c +8 more+290 -2140 replies
2/4PCI: dwc: Remove old MSI IRQs APIdrivers/pci/dwc/pci-keystone-dw.c drivers/pci/dwc/pci-keystone.h drivers/pci/dwc/pci-layerscape.c +2 more+5 -1950 replies
3/4PCI: dwc: Expand maximum number of MSI IRQs from 32 to 256drivers/pci/dwc/pcie-designware-host.c drivers/pci/dwc/pcie-designware.h+11 -110 replies
4/4PCI: dwc: Code cleanupdrivers/pci/dwc/pcie-designware-host.c drivers/pci/dwc/pcie-designware-plat.c drivers/pci/dwc/pcie-designware.h+48 -330 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchNiklas CasselShawn GuoMarc ZyngierJingoo Han
1/4T-b T-b A-b A-b
2/4T-b T-b A-b
3/4T-b T-b A-b
4/4

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 v11 thread

Cover letter [PATCH v11 0/4] PCI: dwc: Enables MSI-X driver support

Implement a multiplexed IRQ domain hierarchy API in the pcie-designware host bridge driver that funnels all MSI IRQs into a single parent interrupt, moving away from the obsolete struct msi_controller based API.

Remove all existing dwc based host bridges MSI IRQs handlers, in that the hierarchical API now handles MSI IRQs through the hierarchical/chained MSI domain implementation.

The Synopsys PCIe Root Complex supports up to MSI 256 IRQs distributed over 8 controller registers, therefore the maximum number of MSI IRQs can be changed to 256. The number of controllers can be calculated based on the number of vectors used by the specific SoC driver.

Adds Synopsys Root Complex driver support for MSI-X feature.

The patch set was made against the Bjorn's master branch (v4.16-rc1).

Gustavo Pimentel (4):
PCI: dwc: Move MSI IRQs allocation to IRQ domains hierarchical API
PCI: dwc: Remove old MSI IRQs API
PCI: dwc: Expand maximum number of MSI IRQs from 32 to 256
PCI: dwc: Code cleanup

 drivers/pci/dwc/pci-exynos.c           |  18 --
 drivers/pci/dwc/pci-imx6.c             |  18 --
 drivers/pci/dwc/pci-keystone-dw.c      |  91 +------
 drivers/pci/dwc/pci-keystone.c         |   1 +
 drivers/pci/dwc/pci-keystone.h         |   4 +-
 drivers/pci/dwc/pci-layerscape.c       |   3 +-
 drivers/pci/dwc/pcie-artpec6.c         |  18 --
 drivers/pci/dwc/pcie-designware-host.c | 446 +++++++++++++++++++--------------
 drivers/pci/dwc/pcie-designware-plat.c |  22 +-
 drivers/pci/dwc/pcie-designware.h      |  31 ++-
 drivers/pci/dwc/pcie-histb.c           |  15 --
 drivers/pci/dwc/pcie-qcom.c            |  16 --
 12 files changed, 292 insertions(+), 391 deletions(-)
Signature · 1 line
2.7.4