Skip to content
Commit f8d5b9e9 authored by Sebastian Capella's avatar Sebastian Capella Committed by Rafael J. Wysocki
Browse files

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: default avatarSebastian Capella <sebastian.capella@linaro.org>
Acked-by: default avatarMing Lei <ming.lei@canonical.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent cfbf8d48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment