Takashi Iwai
fe304143b0
firmware: Avoid deadlock of usermodehelper lock at shutdown
...
When a system goes to reboot/shutdown, it tries to disable the
usermode helper via usermodehelper_disable(). This might be blocked
when a driver tries to load a firmware beforehand and it's stuck by
some reason. For example, dell_rbu driver loads the firmware in
non-hotplug mode and waits for user-space clearing the loading sysfs
flag. If user-space doesn't clear the flag, it waits forever, thus
blocks the reboot, too.
As a workaround, in this patch, the firmware class driver registers a
reboot notifier so that it can abort all pending f/w bufs before
issuing usermodehelper_disable().
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Ming Lei <ming.lei@canonical.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2013-06-03 13:57:29 -07:00
..
2013-05-25 20:32:00 -07:00
2013-05-12 15:19:46 +02:00
2013-04-29 13:26:48 -04:00
2013-06-03 13:57:29 -07:00
2013-05-17 14:31:05 -04:00
2013-05-24 16:22:52 -07:00
2013-05-01 14:08:52 -07:00
2013-05-07 02:16:21 -04:00
2013-05-24 16:22:52 -07:00
2013-05-25 20:30:31 -07:00
2013-05-07 11:28:42 -07:00
2013-05-25 20:32:00 -07:00
2013-04-26 22:30:25 +02:00
2013-05-24 18:11:10 +10:00
2013-05-25 20:30:31 -07:00
2013-05-21 09:13:11 +02:00
2013-04-29 09:30:25 -07:00
2013-05-09 09:59:16 -07:00
2013-05-09 10:11:48 -07:00
2013-06-03 13:57:29 -07:00
2013-05-23 18:24:10 -07:00
2013-05-21 08:50:57 -07:00
2013-05-06 13:07:33 +02:00
2013-05-21 09:56:55 -07:00
2013-05-19 08:19:29 -07:00
2013-05-07 14:01:27 -07:00
2013-05-21 11:11:45 -07:00
2013-05-07 02:16:21 -04:00
2013-05-11 15:23:17 -07:00
2013-05-22 22:15:20 +01:00
2013-05-08 15:29:48 -07:00
2013-05-23 13:50:03 -07:00
2013-05-06 14:59:13 -07:00
2013-05-07 11:28:42 -07:00
2013-05-20 13:38:14 -07:00
2013-05-24 16:22:51 -07:00
2013-05-08 10:49:18 +09:30
2013-05-02 10:16:16 -07:00
2013-05-19 18:57:50 +01:00
2013-05-02 14:38:53 -07:00
2013-05-18 11:55:52 +02:00
2013-05-07 02:16:21 -04:00
2013-05-08 10:13:35 -07:00
2013-05-22 07:18:41 -07:00
2013-05-23 09:26:32 -07:00
2013-05-15 13:37:54 -07:00
2013-05-18 11:55:55 +02:00
2013-05-24 08:27:32 -07:00
2013-05-15 10:58:22 -07:00
2013-05-04 14:47:26 -04:00
2013-05-18 10:46:50 -07:00
2013-05-24 22:35:46 +02:00
2013-05-17 14:12:06 -06:00
2013-05-20 07:59:46 -07:00
2013-05-10 09:09:47 -07:00
2013-05-02 10:16:16 -07:00
2013-05-25 20:32:49 -07:00
2013-05-01 17:51:54 -07:00
2013-05-18 11:55:58 +02:00
2013-05-24 16:22:51 -07:00
2013-05-09 09:59:16 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2013-05-24 16:22:53 -07:00
2013-05-21 09:36:46 -07:00
2013-05-10 07:54:01 -07:00
2013-05-18 10:54:54 -07:00
2013-05-09 10:15:46 -07:00
2013-05-23 09:27:49 -07:00
2013-05-16 07:55:07 -07:00
2013-05-18 11:57:30 +02:00
2013-05-24 16:27:37 -07:00
2013-05-21 10:13:23 -07:00
2013-05-23 09:23:32 -07:00
2013-04-29 18:28:43 -07:00
2013-05-02 14:02:32 -07:00
2013-05-08 10:49:03 +09:30
2013-05-24 16:22:52 -07:00
2013-05-18 11:58:03 +02:00
2013-05-18 11:58:04 +02:00
2013-05-20 14:14:48 -04:00
2013-05-01 17:29:18 -04:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00