From: Sebastian Capella Date: Wed, 19 Feb 2014 01:52:08 +0000 (-0800) Subject: PM / hibernate: Fix restore hang in freeze_processes() X-Git-Tag: v3.14-rc5~9^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8d5b9e9e5372f0deb7bc1ab1088a9b60b0a793d;p=pandora-kernel.git PM / hibernate: Fix restore hang in freeze_processes() 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 Acked-by: Ming Lei Cc: All applicable Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed