[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131024142149.GA26427@xo-6d-61-c0.localdomain>
Date: Thu, 24 Oct 2013 16:21:49 +0200
From: Pavel Machek <pavel@....cz>
To: Russ Dill <Russ.Dill@...com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Len Brown <len.brown@...el.com>,
"Rafael J. Wysocki" <rjw@...k.pl>
Subject: Re: [PATCH] PM / hibernate: Move software_resume to
late_initcall_sync
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 <Russ.Dill@...com>
Acked-by: Pavel Machek <Pavel@....cz>
--
(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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists