Skip to content

PCI/MSI: Cleanup init and improve 32-bit MSI checking

Bjorn Helgaas linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 5 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI/MSI: Move MSI/MSI-X init to msi.cdrivers/pci/Makefile drivers/pci/msi.c drivers/pci/pci.h +1 more+41 -212 replies
2/3PCI/MSI: Move MSI/MSI-X flags updaters to msi.cdrivers/pci/msi.c drivers/pci/pci.h+21 -211 reply
3/3PCI/MSI: Set device flag indicating only 32-bit MSI supportdrivers/pci/msi.c+8 -51 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchThierry Reding
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] PCI/MSI: Cleanup init and improve 32-bit MSI checking

From: Bjorn Helgaas <[email protected]>

MSI/MSI-X init was a little unconventional. We had pci_msi_setup_pci_dev() to disable MSI and MSI-X, in probe.c instead of msi.c so we could do it even without CONFIG_PCI_MSI. Move that to msi.c and fix the config issue with an #ifdef.

Then add Vidya's patch on top. Previous postings at

https://lore.kernel.org/linux-pci/[email protected]/
https://lore.kernel.org/linux-pci/[email protected]/

Bjorn Helgaas (2):
PCI/MSI: Move MSI/MSI-X init to msi.c
PCI/MSI: Move MSI/MSI-X flags updaters to msi.c

Vidya Sagar (1):
PCI/MSI: Set device flag indicating only 32-bit MSI support

 drivers/pci/Makefile |  3 +-
 drivers/pci/msi.c    | 70 ++++++++++++++++++++++++++++++++++++++++----
 drivers/pci/pci.h    | 23 ++-------------
 drivers/pci/probe.c  | 21 ++-----------
 4 files changed, 70 insertions(+), 47 deletions(-)
Signature · 1 line
2.25.1