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-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