Skip to content

PCI/MSI: Getting rid of msi_controller, and other cleanups

Marc Zyngier linux-arm-kernel linux-hyperv linux-mediatek linux-pci linux-renesas-soc linux-tegra lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 13 repliesIn review
  2. v215 patches 12 repliesSuperseded
  3. v113 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14PCI: tegra: Convert to MSI domainsdrivers/pci/controller/Kconfig drivers/pci/controller/pci-tegra.c+185 -1594 replies
2/14PCI: rcar: Don't allocate extra memory for the MSI capture addressdrivers/pci/controller/pcie-rcar-host.c+7 -112 replies
3/14PCI: rcar: Convert to MSI domainsdrivers/pci/controller/Kconfig drivers/pci/controller/pcie-rcar-host.c+170 -1833 replies
4/14PCI: xilinx: Don't allocate extra memory for the MSI capture addressdrivers/pci/controller/pcie-xilinx.c+6 -120 replies
5/14PCI: xilinx: Convert to MSI domainsdrivers/pci/controller/Kconfig drivers/pci/controller/pcie-xilinx.c+106 -1380 replies
6/14PCI: hv: Drop msi_controller structuredrivers/pci/controller/pci-hyperv.c+0 -40 replies
7/14PCI/MSI: Drop use of msi_controller from core codedrivers/pci/msi.c drivers/pci/probe.c include/linux/pci.h+1 -260 replies
8/14PCI/MSI: Kill msi_controller structureinclude/linux/msi.h+1 -150 replies
9/14PCI/MSI: Kill default_teardown_msi_irqs()drivers/pci/msi.c include/linux/msi.h+1 -110 replies
10/14PCI/MSI: Let PCI host bridges declare their reliance on MSI domainsdrivers/pci/probe.c include/linux/pci.h+3 -00 replies
11/14PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI domainsdrivers/pci/controller/pci-host-common.c+1 -00 replies
12/14PCI: mediatek: Advertise lack of built-in MSI handlingdrivers/pci/controller/pcie-mediatek.c+4 -00 replies
13/14PCI/MSI: Document the various ways of ending up with NO_MSIdrivers/pci/msi.c+9 -22 replies
14/14PCI: Refactor HT advertising of NO_MSI flagdrivers/pci/quirks.c+4 -110 replies

Reviews trailers per patch

13 of 14 patches have a Reviewed-by or Acked-by.

PatchBjorn HelgaasMarek VasutBharat Kumar GogadaMichael KelleyYoshihiro ShimodaJon Hunter
1/14A-b T-b
2/14R-b T-b
3/14A-b T-b
4/14T-b
5/14A-b T-b
6/14A-b R-b T-b
7/14A-b
8/14A-b
9/14A-b
10/14A-b
11/14A-b
12/14A-b
13/14A-b
14/14A-b

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

Read the v3 thread

Cover letter [PATCH v3 00/14] PCI/MSI: Getting rid of msi_controller, and other cleanups

This is a respin of the series described at [1].

* From v2 [2]:
- Fixed the Xilinx driver, thanks to Bharat for testing it
- Dropped the no_msi attribute, and solely rely on msi_domain, which has the same effect for the only platform that was using it.
- Fixed compilation on architectures that do not select the generic MSI support

* From v1:
- Extracted the changes dealing with the MSI capture address for rcar and xilinx and moved them to separate patches
- Changed the rcar code to cope with c4e0fec2f7ee ("PCI: rcar: Always allocate MSI addresses in 32bit space")
- Fixed rcar resume code
- Reworked commit messages
- Rebased onto v5.12-rc4
- Collected Acks, and TBs, with thanks.

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]

Marc Zyngier (13):
PCI: tegra: Convert to MSI domains
PCI: rcar: Don't allocate extra memory for the MSI capture address
PCI: rcar: Convert to MSI domains
PCI: xilinx: Don't allocate extra memory for the MSI capture address
PCI: xilinx: Convert to MSI domains
PCI: hv: Drop msi_controller structure
PCI/MSI: Drop use of msi_controller from core code PCI/MSI: Kill msi_controller structure
PCI/MSI: Kill default_teardown_msi_irqs()
PCI/MSI: Let PCI host bridges declare their reliance on MSI domains PCI/MSI: Make pci_host_common_probe() declare its reliance on MSI
domains
PCI/MSI: Document the various ways of ending up with NO_MSI
PCI: Refactor HT advertising of NO_MSI flag

Thomas Gleixner (1):
PCI: mediatek: Advertise lack of built-in MSI handling

 drivers/pci/controller/Kconfig           |   4 +-
 drivers/pci/controller/pci-host-common.c |   1 +
 drivers/pci/controller/pci-hyperv.c      |   4 -
 drivers/pci/controller/pci-tegra.c       | 343 ++++++++++++----------
 drivers/pci/controller/pcie-mediatek.c   |   4 +
 drivers/pci/controller/pcie-rcar-host.c  | 356 +++++++++++------------
 drivers/pci/controller/pcie-xilinx.c     | 246 +++++++---------
 drivers/pci/msi.c                        |  45 +--
 drivers/pci/probe.c                      |   4 +-
 drivers/pci/quirks.c                     |  15 +-
 include/linux/msi.h                      |  17 +-
 include/linux/pci.h                      |   3 +-
 12 files changed, 484 insertions(+), 558 deletions(-)
Signature · 1 line
2.29.2