Documentation:reference notifiers.txt in freezing-of-tasks.txt
Hi,
freezing-of-tasks.txt mentions firmware issues without mentioning the use of the new notifier API to overcome them. Here's an update.
Regards
Oliver
----
Documentation/power/freezing-of-tasks.txt +5 -3
@@ -155,6 +155,8 @@ Suppose, however, that the firmware file only through another device that hasn't been resumed yet. In that case, request_firmware() will fail regardless of whether or not the freezing of tasks is used. Consequently, the problem is not really related to the freezing of -tasks, since it generally exists anyway. [The solution to this particular -problem is to keep the firmware in memory after it's loaded for the first time -and upload if from memory to the device whenever necessary.] +tasks, since it generally exists anyway. + +A driver must have all firmwares it may need in RAM before suspend() is called. +If keeping them is not practical, for example due to their size, they must be +requested early enough using the suspend notifier API described in notifiers.txt.
Rafael J. Wysocki
Acked-byHi,
Quoted 8 lines · Oliver Neukum
Hi,
freezing-of-tasks.txt mentions firmware issues without mentioning the use of the new notifier API to overcome them. Here's an update.
Regards
OliverSigned-off-by Oliver Neukum <[email protected]>
Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth
Nigel Cunningham
Acked-byHi.
Quoted 11 lines · On Monday 09 July 2007 18:26:19 Oliver Neukum wrote:
Hi,
freezing-of-tasks.txt mentions firmware issues without mentioning the use of the new notifier API to overcome them. Here's an update.
Regards
OliverSigned-off-by Oliver Neukum <[email protected]>----
---
a/Documentation/power/freezing-of-tasks.txt2007-07-09
10:06:51.000000000 +0200
Quoted 1 line
+++
b/Documentation/power/freezing-of-tasks.txt2007-07-09
10:24:05.000000000 +0200
Review Suppose, however, that the firmware file · line 156
Quoted 3 lines
(quoted diff) +0
-0@@ -155,6 +155,8 @@ Suppose, however, that the firmware file only through another device that hasn't been resumed yet. In that case, request_firmware() will fail regardless of whether or not the freezing of
tasks
Review Suppose, however, that the firmware file · line 157
Quoted 1 line
(quoted diff) +0
-0is used. Consequently, the problem is not really related to the freezing
of
Review Suppose, however, that the firmware file · line 159
Quoted 2 lines
(quoted diff) +0
-2-tasks, since it generally exists anyway. [The solution to this particular -problem is to keep the firmware in memory after it's loaded for the first
time
Documentation/power/freezing-of-tasks.txt Suppose, however, that the firmware file
Quoted 4 lines
Documentation/power/freezing-of-tasks.txt +3
-1-and upload if from memory to the device whenever necessary.] +tasks, since it generally exists anyway. + +A driver must have all firmwares it may need in RAM before suspend() is
called.
s/firmwares/firmware
Review Suppose, however, that the firmware file · line 161
Quoted 1 line
(quoted diff) +1
-0+If keeping them is not practical, for example due to their size, they must
be
Review Suppose, however, that the firmware file · line 162
Quoted 1 line
(quoted diff) +1
-0+requested early enough using the suspend notifier API described in
notifiers.txt.
Regards,
Nigel
Signature · 2 lines
See http://www.tuxonice.net for Howtos, FAQs, mailing lists, wiki and bugzilla info.