1

I am using PCIe device connected to linux RH6.4 machine through cable, and I need to force linux to re-enumerate the PCIe device (after its power on) without rebooting the machine.

Currently enumeration is done only after reboot. I tried the following but its not working

echo "1" > /sys/bus/pci/rescan

Any ideas Thanks

jfcj2003
  • 11
  • 3

1 Answers1

0

Doing the write you described will work only if you perform it from the Root Complex (RC) side.

Generaly speaking, a Pcie device cannot force re-enumeration.

Nadav
  • 563
  • 3
  • 17
  • I am assuming the OP is logged into a RH6.4 machine and that the Root Complex is located on that machine. What am I missing? – John Sambrook Nov 27 '22 at 22:37