Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756740AbYCMRER (ORCPT ); Thu, 13 Mar 2008 13:04:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754002AbYCMREG (ORCPT ); Thu, 13 Mar 2008 13:04:06 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:49247 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969AbYCMREE convert rfc822-to-8bit (ORCPT ); Thu, 13 Mar 2008 13:04:04 -0400 From: "Rafael J. Wysocki" To: "Eric W. Biederman" Subject: Re: [linux-pm] [PATCH -mm] kexec jump -v9 Date: Thu, 13 Mar 2008 18:03:29 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Alan Stern , "Huang, Ying" , nigel@nigel.suspend2.net, Kexec Mailing List , linux-kernel@vger.kernel.org, Andrew Morton , linux-pm@lists.linux-foundation.org, Vivek Goyal References: <200803122253.07631.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline Message-Id: <200803131803.31120.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1531 Lines: 36 On Thursday, 13 of March 2008, Eric W. Biederman wrote: > "Rafael J. Wysocki" writes: > > > Yes, it ought to be possible. > > > > Ultimately, IMHO, we should put all devices unnecessary for saving the image > > (and doing some eye-candy work) into low power states before the image is > > created and keep them in low power states until the system is eventually > > powered off. > > Why? I guess I don't see why we care what power state the devices are in. > Especially since we should be able to quickly save the image. > > We need to disconnect the drivers from the hardware yes. So filesystems > still work and applications that do direct hardware access still work > and don't need to reopen their connections. > > I'm leery of low power states as they don't always work, and bringing > low power states seems to confuse hibernation to disk with suspend to > ram. >From the ACPI compliance point of view it's better to do it this way. We need to put the devices into low power states anyway before "powering off" the system and we won't need to touch them for the second time if we do that in advance. Still, it would be sufficient if we disconnected the drivers from the hardware and thus prevented applications from accessing that hardware. Thanks, Rafael -- 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/