Skip to content

PCI / DPC: Few improvements

Mika Westerberg linux-pci 1 version Applied

Status from this message: I applied the last two, with Keith's acks, to pci/dpc for v4.8.

Get series with b4
b4 am 1465218368-36494-1-git-send-email-mika.westerberg@linux.intel.com

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4PCI / PCIe: Introduce module_pci_port_service()include/linux/pcieport_if.h+13 -00 replies
2/4PCI / DPC: Convert to use module_pcie_port_service()drivers/pci/pcie/pcie-dpc.c+1 -120 replies
3/4PCI / DPC: Convert the driver to use devm_* functionsdrivers/pci/pcie/pcie-dpc.c+4 -90 replies
4/4PCI / DPC: Fix whitespace in struct dpc_devdrivers/pci/pcie/pcie-dpc.c+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKeith Busch
SeriesA-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] PCI / DPC: Few improvements

Hi,

This series includes few improvements for the PCIe DPC driver. First we introduce module_pci_port_service() which allows reducing of boilerblate code used in the DPC driver. In addition we convert the driver to use managed resource functions (devm) to get rid of even more boilerblate.

I do not have hardware supporting DPC so these are only compile tested.

Mika Westerberg (4):
PCI / PCIe: Introduce module_pci_port_service() PCI / DPC: Convert to use module_pcie_port_service() PCI / DPC: Convert the driver to use devm_* functions PCI / DPC: Fix whitespace in struct dpc_dev

 drivers/pci/pcie/pcie-dpc.c | 30 +++++++-----------------------
 include/linux/pcieport_if.h | 13 +++++++++++++
 2 files changed, 20 insertions(+), 23 deletions(-)
Signature · 1 line
2.8.1