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
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux