Skip to content

shpchp: no claim on pcie port device

Pingfan Liu linux-pci linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

implement the checking in the process of matching, instead of probing, which is too late.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pci: introduce an extra method for matching in pci_driverdrivers/pci/pci-driver.c include/linux/pci.h+6 -02 replies
2/2pci/shpchp: no claim on pcie port devicedrivers/pci/hotplug/shpchp_core.c+13 -02 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [patchV2 0/2] shpchp: no claim on pcie port device

The Linux Device Driver Model allows a physical device to be handled by only a single driver. But at present, both shpchp and portdrv_pci claim PCI_CLASS_BRIDGE_PCI. This cause problems, such as the wrong shutdown seq. This series keeps shpchp driver away from pcie port device.

V1 -> V2:
implement the checking in the process of matching, instead of probing, which is too late.

Pingfan Liu (2):
pci: introduce an extra method for matching in pci_driver pci/shpchp: no claim on pcie port device

 drivers/pci/hotplug/shpchp_core.c | 13 +++++++++++++
 drivers/pci/pci-driver.c          |  4 ++++
 include/linux/pci.h               |  2 ++
 3 files changed, 19 insertions(+)
Signature · 1 line
2.7.4