From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965809AbXG3AWp (ORCPT ); Sun, 29 Jul 2007 20:22:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965520AbXG3AWf (ORCPT ); Sun, 29 Jul 2007 20:22:35 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:33967 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965504AbXG3AWe (ORCPT ); Sun, 29 Jul 2007 20:22:34 -0400 Date: Sun, 29 Jul 2007 17:21:22 -0700 (PDT) From: Linus Torvalds To: "Rafael J. Wysocki" cc: Len Brown , david@lang.hm, Andrew Morton , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek , Adrian Bunk , Stefan Richter , Nigel Cunningham , pm list Subject: Re: [PATCH 0/2] Introduce CONFIG_HIBERNATION and CONFIG_SUSPEND (updated) In-Reply-To: <200707292323.29601.rjw@sisk.pl> Message-ID: References: <200707251238.50218.lenb@kernel.org> <200707291220.14880.rjw@sisk.pl> <200707292323.29601.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ok, I took this, and modified Len's patch to re-introduce ACPI_SLEEP on top of it (I took the easy way out, and just made PM_SLEEP imply ACPI_SLEEP, which should make everything come out right. I could have dropped ACPI_SLEEP entirely in favour of PM_SLEEP, but that would have implied changing more of Len's patch than I was really comfy with). Len, Rafael, please do check that the end result looks ok. I suspect ACPI could now take the PM_SLEEP/SUSPEND/HIBERNATE details into account, and that some of the code is not necessary when HIBERNATE is not selected, for example, but I'm not at all sure that it's worth it being very fine-grained. Linus