linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [patchV2 0/2] shpchp: no claim on pcie port device
@ 2018-06-13  6:29 Pingfan Liu
  2018-06-13  6:29 ` [patchV2 1/2] pci: introduce an extra method for matching in pci_driver Pingfan Liu
  2018-06-13  6:29 ` [patchV2 2/2] pci/shpchp: no claim on pcie port device Pingfan Liu
  0 siblings, 2 replies; 7+ messages in thread
From: Pingfan Liu @ 2018-06-13  6:29 UTC (permalink / raw)
  To: linux-pci; +Cc: Bjorn Helgaas, Christoph Hellwig, linuxppc-dev

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(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-25  2:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13  6:29 [patchV2 0/2] shpchp: no claim on pcie port device Pingfan Liu
2018-06-13  6:29 ` [patchV2 1/2] pci: introduce an extra method for matching in pci_driver Pingfan Liu
2018-06-13  6:37   ` Christoph Hellwig
2018-06-13  7:28     ` Pingfan Liu
2018-06-13  6:29 ` [patchV2 2/2] pci/shpchp: no claim on pcie port device Pingfan Liu
2018-06-13 13:13   ` Bjorn Helgaas
2018-06-25  2:59     ` Pingfan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).