From: Sergio Monteiro Basto <sergio-qOf5bGQp09kptuEoxK/DLR2eb7JE58TQ@public.gmane.org>
To: ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org
Cc: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: CONFIG_PM, CONFIG_ACPI, CONFIG_ACPI_SLEEP
Date: Thu, 10 Mar 2005 08:38:06 +0000 [thread overview]
Message-ID: <1110443886.5721.18.camel@bastov> (raw)
In-Reply-To: <1110406503.8870.36.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]
Hi, I had write about it on Apr/May 2004,
Because "Accidentally, I compile ACPI without CONFIG_PM on one Dell
something dual Pentium III and power off didn't work."
For me this was a bug that has been introduced when ACPI enter in 2.4
because, before that, if I recall correctly
"we couldn't compile ACPI without define CONFIG_PM"
Conclusion, to simplify, on kernel configuration, I propose to force
that (for compile ACPI we need define CONFIG_PM) (again?) with this
little patch on attach.
thanks,
On Thu, 2005-03-10 at 09:15 +1100, Nigel Cunningham wrote:
> Hi.
>
> On Thu, 2005-03-10 at 06:02, Len Brown wrote:
> > Today it is possible to build with
> > CONFIG_PM=n
> > CONFIG_ACPI=y
> > (however, CONFIG_ACPI_SLEEP does depend on CONFIG_PM)
> >
> > Seems that the solution to the kexec poweroff issue
> > is simpler if ACPI can depend on CONFIG_PM being present:
> > http://bugzilla.kernel.org/show_bug.cgi?id=4041
> >
> > Why shouldn't CONFIG_ACPI depend on CONFIG_PM
> > Why shouldn't CONFIG_ACPI_SLEEP simply be CONFIG_ACPI
> >
> > I can't think of any good reasons not to simplify here, can you?
>
> That sounds confusing to me. I thought that ACPI was much more than just
> power management. Doesn't it include IRQ routing, device enumeration and
> so on too?
yes, but we can say "ACPI without PM doesn't exist"
>
> Regards,
>
> Nigel
--
Sérgio M.B.
[-- Attachment #2: configopti-24.diff --]
[-- Type: text/x-patch, Size: 805 bytes --]
--- linux-2.4.26s/arch/i386/config.in.orig 2004-04-29 23:38:38.000000000 +0100
+++ linux-2.4.26s/arch/i386/config.in 2004-04-29 23:40:58.000000000 +0100
@@ -360,7 +360,7 @@
bool 'Power Management support' CONFIG_PM
dep_tristate ' Advanced Power Management BIOS support' CONFIG_APM $CONFIG_PM
-if [ "$CONFIG_APM" != "n" ]; then
+if [ "$CONFIG_APM" != "n" -a "$CONFIG_PM" = "y" ]; then
bool ' Ignore USER SUSPEND' CONFIG_APM_IGNORE_USER_SUSPEND
bool ' Enable PM at boot time' CONFIG_APM_DO_ENABLE
bool ' Make CPU Idle calls when idle' CONFIG_APM_CPU_IDLE
@@ -370,7 +370,9 @@
bool ' Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF
fi
-source drivers/acpi/Config.in
+if [ "$CONFIG_PM" = "y" ]; then
+ source drivers/acpi/Config.in
+fi
endmenu
next prev parent reply other threads:[~2005-03-10 8:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 19:02 CONFIG_PM, CONFIG_ACPI, CONFIG_ACPI_SLEEP Len Brown
2005-03-09 22:15 ` Nigel Cunningham
[not found] ` <1110406503.8870.36.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-03-10 8:38 ` Sergio Monteiro Basto [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-10 3:36 Brown, Len
[not found] ` <F7DC2337C7631D4386A2DF6E8FB22B3002F22F17-N2PTB0HCzHKkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-03-10 3:48 ` Nigel Cunningham
2005-03-10 6:00 Brown, Len
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=1110443886.5721.18.camel@bastov \
--to=sergio-qof5bgqp09kptueoxk/dlr2eb7je58tq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=ncunningham-3EexvZdKGZRWk0Htik3J/w@public.gmane.org \
/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