Hello, Bjorn and Yinghai, Everything is working as expected now. Both boards are hotplugging. Im working in the udev configuration to run scripts automatically but i think its the easiest part. Thanks for your help, Paulo. 2013/5/31, Paulo Fortuna Carvalho <pricardofc@xxxxxxxxxxxxxxx>: > I'll explain better. > We have the following architecture. > PC (Intel Root Port) downstream->Upstream OneStopSystems RootComplex > 8733 downstream->upstream PCIe Switch 8696 in a ATCA card downstream-> > another ATCA card. > When another ATCA card is removed from the system all the process goes ok. > When the first ATCA card that has the PCIe 8696 onboard is removed > from system and inserted again all the PEX show rev (ff) and also the > 2 ATCA cards have rev (ff) > The only thing in system with rev (ba) ok is the Root Complex 8733. > The ATCA card with PCIE Switch 8696 onboard is plugged to the PC via a > HotPlug cable and we dont actually remove the card only the cable (is > the same thing I guess). So when we plug the cable back i think we > have to send a reset signal to the pciexpress bus in order to > initialize all the pci bus, detect and power on all the tree from Root > Complex 8733 until PCIe Switch 8696 and at last ATCA cards in order to > insert ATCA cards device drivers. > > So I tryed echo 1 > /sys/bus/pci/rescan didnt work. Then I identify > from which device the rev ff was and found that from device > 0000:04:08.0 rev was ff and so all the nodes below this one were also > with rev ff. then I tryed > echo 1 > /sys/bus/pci/devices/0000\:04\:08.0/power but also nothing > happened. > So is there a command that I can execute to activate all the pci bus > from that node? > My work colleague told me that after plug the pci express cable he > always had to reboot the pc (because it needs a reset signal in that > hw line) but I think that there should be a linux command that would > be able to send this reset signal. > I also tryed echo 1 > /sys/bus/pci/devices/0000\:04\:08.0/reset but > this file doenst exist... > Paulo. > > 2013/5/31, Yinghai Lu <yinghai@xxxxxxxxxx>: >> On Fri, May 31, 2013 at 10:35 AM, Paulo Fortuna Carvalho >> <pricardofc@xxxxxxxxxxxxxxx> wrote: >> >>> Also, How can I perform an entire pcie express bus reset from linux >>> terminal? >> >> disable_pcie_link and reenable the pcie link? >> > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html