mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Torsten Kaiser" <just.for.lkml@googlemail.com>
To: "Alexey Starikovskiy" <aystarik@gmail.com>
Cc: "Alexey Starikovskiy" <astarikovskiy@suse.de>,
	"Damien Wyart" <damien.wyart@free.fr>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"Len Brown" <len.brown@intel.com>,
	"Frans Pop" <elendil@planet.nl>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	linux-acpi@vger.kernel.org
Subject: Re: ACPI power off regression in 2.6.23-rc8 (NOT in rc7)
Date: Tue, 25 Sep 2007 18:30:00 +0200	[thread overview]
Message-ID: <64bb37e0709250930m555a9586j35a1d579ea5a3713@mail.gmail.com> (raw)
In-Reply-To: <46F8F033.2040402@gmail.com>

On 9/25/07, Alexey Starikovskiy <aystarik@gmail.com> wrote:
> Torsten Kaiser wrote:
> > No, I do not have CONFIG_ACPI_SLEEP set,
> > because I do not have CONFIG_PM_SLEEP set,
> > because I do not want SUSPEND and/or HIBERNATION.
> This is not the reason. SUSPEND is controlled with CONFIG_SUSPEND and
> HIBERNATION is controlled with CONFIG_HIBERNATION.
> But if you want S5 ACPI sleep state you might want to enable ACPI_SLEEP...

What I meant with SUSPEND and/or HIBERNATION was CONFIG_SUSPEND /
CONFIG_HIBERNATION.

And the relations where from Kconfig:
from drivers/acpi/Kconfig:
config ACPI_SLEEP
        bool
        depends on PM_SLEEP
        default y

-> no PM_SLEEP means no ACPI_SLEEP

from kernel/power/Kconfig:
config PM_SLEEP
        bool
        depends on SUSPEND || HIBERNATION
        default y

-> No SUSPEND and/or HIBERNATION means no PM_SLEEP

And if I select SUSPEND and/or HIBERNATION I will not only build this
feature into the kernel, but also HOTPLUG_CPU and I want to avoid
that.

It's exactly as Linus said in his mail: Not everybody wants SUSPEND...

I should have formulated that better in my mail, but that was what I
wanted to say.


Back to debugging this:
http://marc.info/?l=linux-acpi&m=119052970904643&w=4
fails to apply against 2.6.23-rc7-mm1, but moving that function by
hand was not to difficult. ;)
(With only the second patch I got a link error...)

http://marc.info/?l=linux-acpi&m=119073173625910&w=4
applied, and a test showed that my system now powers off again.

Torsten

  reply	other threads:[~2007-09-25 16:30 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25  6:51 Damien Wyart
2007-09-25  7:33 ` Andrew Morton
2007-09-25  8:36   ` Alexey Starikovskiy
2007-09-25  9:08     ` Torsten Kaiser
2007-09-25  9:27       ` Damien Wyart
2007-09-25  9:58         ` Damien Wyart
2007-09-25 11:45           ` Rafael J. Wysocki
2007-09-25 12:02             ` Damien Wyart
2007-09-25 15:05               ` Damien Wyart
2007-09-26  1:39                 ` Mike Houston
2007-09-25 12:05             ` Rafael J. Wysocki
2007-09-25 12:05               ` Alexey Starikovskiy
2007-09-25 12:39                 ` Rafael J. Wysocki
2007-09-25 12:53                   ` Alexey Starikovskiy
2007-09-25 13:25                     ` Rafael J. Wysocki
2007-09-25 13:15                       ` Alexey Starikovskiy
2007-09-25 14:18                         ` Rafael J. Wysocki
2007-09-25 14:19                           ` Alexey Starikovskiy
2007-09-25 14:52                             ` Rafael J. Wysocki
2007-09-25 14:45                               ` Alexey Starikovskiy
2007-09-25 15:54                                 ` Rafael J. Wysocki
2007-09-25 16:23                                 ` Andrew Morton
2007-09-25 16:25                                   ` Alexey Starikovskiy
2007-09-25 11:25       ` Alexey Starikovskiy
2007-09-25 16:30         ` Torsten Kaiser [this message]
2007-09-25 16:31           ` Alexey Starikovskiy
2007-09-25 16:34           ` Alexey Starikovskiy
2007-09-25 15:40   ` Linus Torvalds
2007-09-25 16:00     ` Rafael J. Wysocki
2007-09-25 21:44       ` ACPI suspend/hibernate tests (was: ACPI power off regression in 2.6.23-rc8) Frans Pop
2007-09-25 22:18         ` Rafael J. Wysocki
2007-09-25 22:28           ` Frans Pop
2007-09-26 14:59     ` ACPI power off regression in 2.6.23-rc8 (NOT in rc7) Tim Post
2007-09-25 11:02 Daniel Ritz
2007-09-25 11:29 ` Alexey Starikovskiy
2007-09-25 12:03 ` Rafael J. Wysocki

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=64bb37e0709250930m555a9586j35a1d579ea5a3713@mail.gmail.com \
    --to=just.for.lkml@googlemail.com \
    --cc=akpm@linux-foundation.org \
    --cc=astarikovskiy@suse.de \
    --cc=aystarik@gmail.com \
    --cc=damien.wyart@free.fr \
    --cc=elendil@planet.nl \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®