Skip to content

PCI: generic: Misc. bug fixes/enhancements

David Daney linux-arm-kernel linux-devicetree linux-pci lkml 3 versions – Applied

Status from this message: Applied to pci/host-generic for v4.4 with Arnd's Reviewed-by and minor

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 14 repliesApplied
  2. v36 patches 6 repliesSuperseded
  3. v25 patches 9 repliesSuperseded

Changes in v4 from the cover letter

- Drop "PCI: generic: Claim device resources if PCI_PROBE_ONLY"

- Add some Acked-by:

- Add to explanation of "reg" property in host-generic-pci.txt.

- Add error message if "reg" property is too big.

- Use pointer to ops rather than make a copy.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5PCI: Add pci_bus_fixup_irqs().drivers/pci/setup-irq.c include/linux/pci.h+34 -05 replies
2/5PCI: generic: Only fixup irqs for bus we are creating.drivers/pci/host/pci-host-generic.c+1 -10 replies
3/5PCI: generic: Quit clobbering our pci_ops.drivers/pci/host/pci-host-generic.c+15 -122 replies
4/5PCI: generic: Correct, and avoid overflow, in bus_max calculation.Documentation/devicetree/bindings/pci/host-generic-pci.txt drivers/pci/host/pci-host-generic.c+14 -45 replies
5/5PCI: generic: Pass proper starting bus number to pci_scan_root_bus().drivers/pci/host/pci-host-generic.c+2 -10 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWill DeaconArnd Bergmann
SeriesA-b A-b R-b
1/5
2/5A-b
3/5A-b R-b
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] PCI: generic: Misc. bug fixes/enhancements

From: David Daney <[email protected]>

While using the pci-host-generic driver to add PCI support for the Cavium ThunderX processors, several bugs were discovered. This patch set fixes the bugs, a follow-on set will add the ThunderX support.

Changes from v3:

- Drop "PCI: generic: Claim device resources if PCI_PROBE_ONLY"

- Add some Acked-by:

- Add to explanation of "reg" property in host-generic-pci.txt.

- Add error message if "reg" property is too big.

- Use pointer to ops rather than make a copy.

Changes from v2:

- Added " PCI: generic: Claim device resources if PCI_PROBE_ONLY"

Changes from v1:

- "PCI: generic: Allow bus default MSI controller to be specified." patch was dropped as it is no longer necessary.

- "PCI: Make global and export pdev_fixup_irq()." and "PCI: generic:
Only fixup irqs for bus we are creating." were rewritten to move the support into a somewhat more generic form in setup-irq.c.

- Add some clarifying text to host-generic-pci.txt

- Add some Acked-by:

David Daney (5):
PCI: Add pci_bus_fixup_irqs().
PCI: generic: Only fixup irqs for bus we are creating.
PCI: generic: Quit clobbering our pci_ops.
PCI: generic: Correct, and avoid overflow, in bus_max calculation.
PCI: generic: Pass proper starting bus number to pci_scan_root_bus().

 .../devicetree/bindings/pci/host-generic-pci.txt   |  6 +++-
 drivers/pci/host/pci-host-generic.c                | 42 +++++++++++++---------
 drivers/pci/setup-irq.c                            | 30 ++++++++++++++++
 include/linux/pci.h                                |  4 +++
 4 files changed, 65 insertions(+), 17 deletions(-)
Signature · 1 line
1.9.1