All of lore.kernel.org
 help / color / mirror / Atom feed
* PCIe/PCI rescan for new FPGA devices
@ 2011-04-28 23:06 Xianghua Xiao
  2011-04-29  2:19 ` Greg KH
  2011-04-29  6:40 ` Yinghai Lu
  0 siblings, 2 replies; 3+ messages in thread
From: Xianghua Xiao @ 2011-04-28 23:06 UTC (permalink / raw)
  To: linux-kernel, linux-pci

I have a FPGA-PCIe device and a FPGA-PCI device that are empty at
kernel boot time, they're only loaded after kernel is up. After I load
FPGA images, "lspci" can not show the device, "echo 1 >
/sys/bus/pci/rescan" also does nothing about it. With a reboot I can
see the devices are allocated correctly though, but I want to avoid
the reboot.

I checked at fakephp(which is to be deprecated) and hotplug/rescan,
none of that worked for this scenario.

Can 'rescan' handle cases like this? or, is there a way that I tell
the kernel to reserve a few BARs somehow in the PCI topology at
bootime so I can "insert" the FPGAs later?

Thanks,
Xianghua

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

end of thread, other threads:[~2011-04-29  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 23:06 PCIe/PCI rescan for new FPGA devices Xianghua Xiao
2011-04-29  2:19 ` Greg KH
2011-04-29  6:40 ` Yinghai Lu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.