I try to rescan my Pcie devices after booting but it doesn't work.
The command used for rescan is : "echo 1 > /sys/bus/pci/rescan"
This command is very very fast and gives no output. "Lspci" gives nothing. If i reboot my IMX8M card, i can see my pcie devices.
Have you got an idea about the problem ?
(I use yocto with BSP and kernel 4.14.78)
Hello Victor, I read that : The /sys/devices/.../power/control attribute allows the user space to control the run-time power management of the device. All devices have one of the following two values for the power/control file: + "auto\n" to allow the device to be power managed at run time; + "on\n" to prevent the device from being power managed; The default for all devices is "auto", which means that they may be subject to automatic power management, depending on their drivers. Changing this attribute to "on" prevents the driver from power managing the device at run time. Doing that while the device is suspended causes it to be woken up. How i can reboot the pcie link with control and only "on" or "auto" ?