linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Enhancing pciehp (was: pcielw An alternate pcie hotplug driver)
@ 2013-10-07 18:58 Rajat Jain
  2013-10-07 20:31 ` Bjorn Helgaas
  2013-10-07 22:42 ` Eric W. Biederman
  0 siblings, 2 replies; 5+ messages in thread
From: Rajat Jain @ 2013-10-07 18:58 UTC (permalink / raw)
  To: ebiederm@xmission.com, Bjorn Helgaas, linux-pci@vger.kernel.org,
	linux-hotplug@vger.kernel.org
  Cc: Greg KH, Guenter Roeck, tom.l.nguyen@intel.com,
	kristen.c.accardi@intel.com, rajesh.shah@intel.com,
	rajatjain.linux@gmail.com

Hello Bjorn / Eric / Folks,

This is to seek suggestions about a problem I'm trying to solve.

The problem
=====1) My company makes routers that have hot-pluggable cards with PCI express interfaces on them. We need to be able to hot-plug those cards, however the cards or the slots do not have the fancy bells & whistles (hot plug elements like MRL, sensor, attention button etc), and hence the hot-plug signals from the PCIe switch aren't really connected.

2) In addition to the above, we have onboard ASICs that are reachable via the PCIe. However, as part of regular operation of a router (e.g. user wants to switch off some ports), the ASICs can be off-lined / on-lined via out-of-band HW pins. The result is that we could see the PCIe link go down or up to that ASIC. This can be thought of as a "virtual" hot-plug of ASIC devices. Since the ASICs are themselves on the board, there is really no slot, and the HP signals again do not make much sense in this case.

What I found
======What I was looking for, was a way to hot-plug and un-plug based on link state changes (since that is pretty much what is available in my case). And I found this:
http://www.spinics.net/lists/linux-pci/msg05783.html
http://www.spinics.net/lists/linux-pci/msg05880.html

My questions
======
a) I was wanting to know if what is the latest on this, or if any progress was made on this? If useful, I am willing to volunteer to work on this. Do you think there is interest in getting this to work? I feel there may be many such systems that are in the same situation.

b) If I wanted to make use of Eric's patch in a way that is useful to the community, what is the best way to move forward? Do you still want to enhance the pciehp to include this functionality? Or a separate service driver (what Eric already has) seems a better idea? I'd appreciate if you could please provide any guidance here.

TIA,

Rajat



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

end of thread, other threads:[~2013-10-19  1:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 18:58 Enhancing pciehp (was: pcielw An alternate pcie hotplug driver) Rajat Jain
2013-10-07 20:31 ` Bjorn Helgaas
2013-10-19  1:07   ` Rajat Jain
2013-10-19  1:22     ` Enhancing pciehp Eric W. Biederman
2013-10-07 22:42 ` Eric W. Biederman

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).