Re: Wakeup races, PCI, and ACPI

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

 



On Wednesday, June 09, 2010, Alan Stern wrote:
> Rafael:
> 
> I see that the kacpi_notify_wq thread isn't freezable.  This means we
> are subject to a race during system sleep transitions.  If a PCI device
> is already runtime-suspended, then a PME# wakeup request could cause
> kacpi_notify_wq to attempt a runtime resume at the same time as the
> regular suspend or freeze method is running.  (The same is true for 
> non-PCI devices and ACPI-platform-specific wakeup requests.)

That, among other things, is why PCI devices are runtime resumed automatically
by the PCI subsystem in its pm->prepare() callback.

Thanks,
Rafael
_______________________________________________
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