The patch titled PM: fix new mutex-locking bug in the PM core has been removed from the -mm tree. Its filename was pm-do-not-acquire-device-semaphores-upfront-during-suspend-fix.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: PM: fix new mutex-locking bug in the PM core From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> This patch (as1041) fixes a bug introduced by the acquire-all-device-semaphores reversion. The error pathway of dpm_suspend() fails to reacquire a mutex it should be holding. Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> Cc: Rafael J. Wysocki <rjw@xxxxxxx> Cc: Greg KH <gregkh@xxxxxxx> Cc: Pavel Machek <pavel@xxxxxx> Cc: Len Brown <lenb@xxxxxxxxxx> Cc: "Zdenek Kabelac" <zdenek.kabelac@xxxxxxxxx> Cc: Lukas Hejtmanek <xhejtman@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/base/power/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/base/power/main.c~pm-do-not-acquire-device-semaphores-upfront-during-suspend-fix drivers/base/power/main.c --- a/drivers/base/power/main.c~pm-do-not-acquire-device-semaphores-upfront-during-suspend-fix +++ a/drivers/base/power/main.c @@ -423,6 +423,7 @@ static int dpm_suspend(pm_message_t stat mutex_unlock(&dpm_list_mtx); error = suspend_device(dev, state); + mutex_lock(&dpm_list_mtx); if (error) { printk(KERN_ERR "Could not suspend device %s: " "error %d%s\n", @@ -433,7 +434,6 @@ static int dpm_suspend(pm_message_t stat "")); break; } - mutex_lock(&dpm_list_mtx); if (!list_empty(&dev->power.entry)) list_move(&dev->power.entry, &dpm_off); } _ Patches currently in -mm which might be from stern@xxxxxxxxxxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html