Skip to content

PCI: final demodularization of non-modular code

Paul Gortmaker linux-omap linux-pci lkml 1 version Applied

Status from this message: Applied to pci/demodularize for v4.9, thanks a lot, Paul!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9PCI: PCIe dpc: make it explicitly non-modulardrivers/pci/pcie/pcie-dpc.c+4 -140 replies
2/9PCI: PCIe pme: make it explicitly non-modulardrivers/pci/pcie/pme.c+1 -150 replies
3/9PCI: PCIe aerdrv: make it explicitly non-modulardrivers/pci/pcie/aer/aerdrv.c+1 -170 replies
4/9PCI: dra7xx: make host code explicitly non-modulardrivers/pci/host/pci-dra7xx.c+3 -280 replies
5/9PCI: PCIe qcom: make host code explicitly non-modulardrivers/pci/host/pcie-qcom.c+7 -210 replies
6/9PCI: PCIe xilinx: make host code explicitly non-modulardrivers/pci/host/pcie-xilinx.c+2 -510 replies
7/9PCI: PCIe xilinx-nwl: make host code explicitly non-modulardrivers/pci/host/pcie-xilinx-nwl.c+3 -500 replies
8/9PCI: hotplug_core: make it explicitly non-modulardrivers/pci/hotplug/cpci_hotplug.h drivers/pci/hotplug/cpci_hotplug_core.c drivers/pci/hotplug/pci_hotplug_core.c+6 -240 replies
9/9PCI: hotplug: make PCIe core code explicitly non-modulardrivers/pci/hotplug/pciehp_core.c+5 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] PCI: final demodularization of non-modular code

This final (assuming more new instances don't leak back in) series ensures all the PCI code out there that remains using module.h is actually modular or containing some use of modular infrastructure.

These last commits are slightly more involved than some of the earlier ones since we are actually removing orphaned __exit functions and some ".remove" functions as well. So we can't claim binary equivalence here, but the overall runtime should remain unchanged.

To that end, we have remained with the existing initcall levels even though some of the hotplug infrastructural ones might make better sense to be listed as subsys_initcall or similar.

Build tested with allmodconfig on all the major architectures.

Paul.
---

Cc Bharat Kumar Gogada <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Keith Busch <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Michal Simek <[email protected]>
Cc Mika Westerberg <[email protected]>
Cc Scott Murray <[email protected]>
Cc "Sören Brinkmann" <[email protected]>
Cc Stanimir Varbanov <[email protected]>
Cc Tom Long Nguyen <[email protected]>

Paul Gortmaker (9):
PCI: PCIe dpc: make it explicitly non-modular
PCI: PCIe pme: make it explicitly non-modular
PCI: PCIe aerdrv: make it explicitly non-modular
PCI: dra7xx: make host code explicitly non-modular
PCI: PCIe qcom: make host code explicitly non-modular
PCI: PCIe xilinx: make host code explicitly non-modular
PCI: PCIe xilinx-nwl: make host code explicitly non-modular
PCI: hotplug_core: make it explicitly non-modular
PCI: hotplug: make PCIe core code explicitly non-modular

 drivers/pci/host/pci-dra7xx.c           | 31 ++-----------------
 drivers/pci/host/pcie-qcom.c            | 28 +++++------------
 drivers/pci/host/pcie-xilinx-nwl.c      | 53 ++-------------------------------
 drivers/pci/host/pcie-xilinx.c          | 53 ++-------------------------------
 drivers/pci/hotplug/cpci_hotplug.h      |  2 --
 drivers/pci/hotplug/cpci_hotplug_core.c | 10 -------
 drivers/pci/hotplug/pci_hotplug_core.c  | 18 ++++-------
 drivers/pci/hotplug/pciehp_core.c       | 20 ++++---------
 drivers/pci/pcie/aer/aerdrv.c           | 18 +----------
 drivers/pci/pcie/pcie-dpc.c             | 18 +++--------
 drivers/pci/pcie/pme.c                  | 16 +---------
 11 files changed, 32 insertions(+), 235 deletions(-)
Signature · 1 line
2.8.4