Re: [RFC][PATCH -mm 3/3] PM: Disable _request_firmware before hibernation/suspend

From: Pavel Machek
Date: Wed May 30 2007 - 15:50:38 EST


Hi!

> > >> Userspace should handle the async request just fine when it comes
> > >> back
> > >> running, regardless of the time it was submitted.
> > >
> > > Okay, so the solution is to convert the drivers to use
> > > request_firmware_nowait() instead of request_firmware() in
> > > their .resume()
> > > routines.
> >
> > [added Rob Landley to CC]
> >
> > I think asynchronous loading should be made the default behaviour.
> > However, we need to think and document how to do firmware loading.
>
> I'd love to write up documentation on this if anybody can tell me what it
> should say. :)

Well, chapter on firmware & suspend/hibernation should say something
about either loading the firmware during early suspend, or just
keeping firmware in ram from boot...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/