public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jiri Slaby <jirislaby@gmail.com>,
	linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org,
	Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org,
	Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
	Pavel Machek <pavel@suse.cz>
Subject: Re: ACPI: S4 disappeared [mmotm 2009-02-10-16-35]
Date: Wed, 11 Feb 2009 17:22:48 +0100	[thread overview]
Message-ID: <20090211162247.GA32301@elte.hu> (raw)
In-Reply-To: <200902111643.10191.rjw@sisk.pl>


* Rafael J. Wysocki <rjw@sisk.pl> wrote:

> On Wednesday 11 February 2009, Jiri Slaby wrote:
> > On 02/11/2009 09:51 AM, Jiri Slaby wrote:
> > > On 02/11/2009 01:36 AM, akpm@linux-foundation.org wrote:
> > >> The mm-of-the-moment snapshot 2009-02-10-16-35 has been uploaded
> > > 
> > > Hi,
> > > 
> > > I've found out, that S4 disappeared in this release, in comparison to mmotm
> > > based on 2.6.29-rc2:
> > > -ACPI: (supports S0 S1 S3 S4 S5)
> > > +ACPI: (supports S0 S1 S3 S5)
> > > 
> > > Any ideas what could have caused this?
> > 
> > I think this one
> > ARCH_HIBERNATION_POSSIBLE=n
> > because
> > SMP=y
> > since
> >  config ARCH_HIBERNATION_POSSIBLE
> >         def_bool y
> > -       depends on !SMP || !X86_VOYAGER
> > +       depends on !SMP
> > 
> > The condition was wrong, ok, anyway it worked. Would
> > depends on !SMP || EXPERIMENTAL
> > make sense? The smp is handled in disable_nonboot_cpus manner, right?
> 
> Ah, someone removed X86_VOYAGER and left this gem.  I guess that went in
> through -tip (Ingo CCed).
> 
> After removing X86_VOYAGER, ARCH_HIBERNATION_POSSIBLE should always be set
> on x86.  Just make it
> 
> config ARCH_HIBERNATION_POSSIBLE
>          def_bool y

heh, indeed :-) Fixed via the commit below.

Thanks,

	Ingo

---------------->
>From 17993b49b1f540aace8e9b4242530d0b3376eb2a Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Wed, 11 Feb 2009 17:20:51 +0100
Subject: [PATCH] x86: make hibernation always-possible

This commit:

  aced3ce: x86/Voyager: remove HIBERNATION Kconfig quirk

Made hibernation only available on UP - instead of making it available
on all of x86. Fix it.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4a27aa4..148c112 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -140,7 +140,6 @@ config HAVE_CPUMASK_OF_CPU_MAP
 
 config ARCH_HIBERNATION_POSSIBLE
 	def_bool y
-	depends on !SMP
 
 config ARCH_SUSPEND_POSSIBLE
 	def_bool y

  reply	other threads:[~2009-02-11 16:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200902110036.n1B0aBZs013975@imap1.linux-foundation.org>
2009-02-11  8:44 ` dead USB devices after resume [mmotm 2009-02-10-16-35] Jiri Slaby
2009-02-11  9:44   ` Rafael J. Wysocki
2009-02-11  9:54     ` Jiri Slaby
2009-02-11 13:38       ` Jiri Slaby
2009-02-11 21:49         ` Rafael J. Wysocki
2009-02-11 15:53   ` Alan Stern
2009-02-13 10:40     ` Jiri Slaby
2009-02-13 15:26       ` Alan Stern
2009-02-16 13:50         ` Jiri Slaby
2009-02-16 19:58           ` Alan Stern
2009-02-13 18:19       ` Jiri Kosina
2009-02-11  8:51 ` ACPI: S4 disappeared " Jiri Slaby
2009-02-11 10:17   ` Jiri Slaby
2009-02-11 15:43     ` Rafael J. Wysocki
2009-02-11 16:22       ` Ingo Molnar [this message]
2009-02-11 21:22         ` Rafael J. Wysocki
2009-02-13  9:37         ` Pavel Machek
2009-02-11 16:48 ` mmotm 2009-02-10-16-35 uploaded Randy Dunlap
2009-02-11 16:58 ` mmotm 2009-02-10-16-35 uploaded (s1d13xfb) Randy Dunlap
2009-02-11 22:01   ` Kristoffer Ericson
2009-02-11 17:06 ` mmotm 2009-02-10-16-35 uploaded (reiser4-quota) Randy Dunlap
2009-02-11 17:13   ` Jan Kara
2009-02-11 17:23     ` Edward Shishkin
2009-02-12  2:49     ` KOSAKI Motohiro
2009-02-12  2:53       ` Andrew Morton
2009-02-20 18:12         ` Zan Lynx
2009-02-20 18:30           ` Andrew Morton
2009-02-12  4:13       ` Volker Armin Hemmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090211162247.GA32301@elte.hu \
    --to=mingo@elte.hu \
    --cc=jirislaby@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox