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

Matthew Garrett
2007-05-27T22:04:12Z

On Sun, May 27, 2007 at 11:49:30PM +0200, Kay Sievers wrote:

> What exactly is the problem we see here? The timeout of the firmware loader?
> What goes wrong with frozen userspace, usually there is only a netlink
> message sent from the kernel, which should be received and handled
> just fine when userspace is running again.

Driver calls request_firmware in the resume method. The userspace helper
can't be run because it's been frozen, so the firmware never gets loaded
and the call times out. The driver then fails to resume. While all this
is happening, the rest of the kernel is blocking on that resume method.
The firmware can be loaded once userspace has been started again, but by
that time the driver has given up.

--
Matthew Garrett | mjg59@srcf.ucam.org