Re: PCI: Revert "PCI: Add runtime PM support for PCIe ports"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 04, 2017 at 11:33:16AM +0100, Kilian Singer wrote:
> Dear all,
> 
> the weird thing is also that when calling:
> 
> echo 0 > /sys/bus/pci/devices/0000:01:00.0/d3cold_allowed
> or
> echo on > /sys/bus/pci/devices/0000:01:00.0/power/control
> 
> on a command line then the command line crashes. The system stays responsive but still
> becomes unresponsive when I lock the screen.

Most probably because the device has already been runtime suspended.
Setting them from command line may be too late.

> Maybe a similar thing are happening in the kernel. Maybe one could use the above fact
> and a timeout to test for the problem and then take measures to deactivate the pm.
> 
> I hope this gives you some more clues.

You could try to run 'lspci -vv' once the machine is unresponsive (if
you can do anything anymore). That should show whether the device and
the root port are still in D3.
--
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



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux