From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [PATCH 2/2] Fix console handling during suspend/resume Date: Wed, 21 Jun 2006 19:21:15 -0700 Message-ID: <200606211921.16289.david-b@pacbell.net> References: <20060614103404.GC28536@elf.ucw.cz> <1150935357.16303.51.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1150935357.16303.51.camel@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Benjamin Herrenschmidt Cc: Linus Torvalds , linux-pm@lists.osdl.org, Pavel Machek List-Id: linux-pm@vger.kernel.org On Wednesday 21 June 2006 5:15 pm, Benjamin Herrenschmidt wrote: > Additionally, as I explained earlier, it > will make everybody's life MUCH easier (especially USB) if we define > that between prepare() and finish(), no hotplug activity takes place > (the bus drivers just basically ignore devices being plugged in during > that phase, or if they can't completely ignore them, at least just leave > a bit somewhere "need to come back on resume look what's going on > here"). In the USB case, you're basically saying that prepare() should freeze khubd. I think you've implied elsewhere that not all kernel tasks should be frozen at that time, though. - Dave