Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755377Ab3JXOWL (ORCPT ); Thu, 24 Oct 2013 10:22:11 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55711 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755178Ab3JXOVy (ORCPT ); Thu, 24 Oct 2013 10:21:54 -0400 Date: Thu, 24 Oct 2013 16:21:49 +0200 From: Pavel Machek To: Russ Dill Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown , "Rafael J. Wysocki" Subject: Re: [PATCH] PM / hibernate: Move software_resume to late_initcall_sync Message-ID: <20131024142149.GA26427@xo-6d-61-c0.localdomain> References: <1382621126-24090-1-git-send-email-Russ.Dill@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1382621126-24090-1-git-send-email-Russ.Dill@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 24 Hi! > software_resume is being called after deferred_probe_initcall in > drivers base. If the probing of the device that contains the resume > image is deferred, and the system has been instructed to wait for > it to show up, this wait will occur in software_resume. This causes > a deadlock. > > Move software_resume into late_initcall_sync so that it happens > after all the other late_initcalls. > > Signed-off-by: Russ Dill Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/