question about driver's runtime_suspend

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

 



Hi. I am looking at supporting the new PM stuff in my VFIO "driver" - which 
allows user level drivers for PCI* devices.

When runtime_suspend is invoked, is it allowed to sleep while determining 
whether the device can be suspended?  If not, does returning -EAGAIN mean that 
it will be called again after some interval? 

I would like to notify the user level that a suspend is desired, and then wait 
for it to tell the vfio driver whether or not the suspend is OK.

Thanks for any help.
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux