Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation:reference notifiers.txt in freezing-of-tasks.txt

freezing-of-tasks.txt mentions firmware issues without mentioning the use
of the new notifier API to overcome them. Here's an update.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Nigel Cunningham <nigel@nigel.suspend2.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Oliver Neukum and committed by
Linus Torvalds
fccdb5ae d6269543

+5 -3
+5 -3
Documentation/power/freezing-of-tasks.txt
··· 155 155 only through another device that hasn't been resumed yet. In that case, 156 156 request_firmware() will fail regardless of whether or not the freezing of tasks 157 157 is used. Consequently, the problem is not really related to the freezing of 158 - tasks, since it generally exists anyway. [The solution to this particular 159 - problem is to keep the firmware in memory after it's loaded for the first time 160 - and upload if from memory to the device whenever necessary.] 158 + tasks, since it generally exists anyway. 159 + 160 + A driver must have all firmwares it may need in RAM before suspend() is called. 161 + If keeping them is not practical, for example due to their size, they must be 162 + requested early enough using the suspend notifier API described in notifiers.txt.