diff options
author | Sebastian Capella <sebastian.capella@linaro.org> | 2014-02-19 01:52:08 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-05 16:13:55 (GMT) |
commit | 3787169fa3185aa8587972b5fdccbf700f60a4f1 (patch) | |
tree | f24803ec43b5cd42c95f092f47b02bc42cc24550 /arch/arm64 | |
parent | 6e511735ceacf47932d0c123f786df7698a221b8 (diff) | |
download | linux-fsl-qoriq-3787169fa3185aa8587972b5fdccbf700f60a4f1.tar.xz |
PM / hibernate: Fix restore hang in freeze_processes()
commit f8d5b9e9e5372f0deb7bc1ab1088a9b60b0a793d upstream.
During restore, pm_notifier chain are called with
PM_RESTORE_PREPARE. The firmware_class driver handler
fw_pm_notify does not have a handler for this. As a result,
it keeps a reader on the kmod.c umhelper_sem. During
freeze_processes, the call to __usermodehelper_disable tries to
take a write lock on this semaphore and hangs waiting.
Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org>
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions