lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH]Teach drivers don't call may-sleep routines in resume code
From
Date
Hi,
We already found one driver (PCI link device driver) does the odd thing, so alert other drivers.

Thanks,
Shaohua

--- 2.6/Documentation/power/devices.txt.orig 2004-11-17 10:42:25.160212832 +0800
+++ 2.6/Documentation/power/devices.txt 2004-11-17 10:46:11.070869192 +0800
@@ -70,6 +70,9 @@ System devices will only be suspended wi
after all other devices have been suspended. On resume, they will be
resumed before any other devices, and also with interrupts disabled.

+*CAUTION*: The resume methods of drivers (normal devices and system devices)
+should never use any may-sleep methods, since when resume from memory (S3),
+no task is running.

Runtime Power Management


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.033 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site