public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Huw Rogers <count0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org>
To: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Nick Lidakis <nlidakis-H+0wwilmMs3R7s880joybQ@public.gmane.org>,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Desktop and S3 suspend the Holy Grail of ACPI?
Date: Wed, 25 Feb 2004 00:50:29 -0500	[thread overview]
Message-ID: <20040225004109.AB48.COUNT0@localnet.com> (raw)
In-Reply-To: <1077686228.5911.93.camel-D2Zvc0uNKG8@public.gmane.org>

You can enable S1/S3 with SMP with the "noirqbalance" boot parameter (to
disable kirqd which refuses to die during suspend) and this patch:

diff -Nru a/kernel/power/main.c b/kernel/power/main.c
--- a/kernel/power/main.c	2004-01-09 01:59:19.000000000 -0500
+++ b/kernel/power/main.c	2004-01-25 19:59:35.000000000 -0500
@@ -144,11 +144,13 @@
 	if (down_trylock(&pm_sem))
 		return -EBUSY;
 
+#if 0
 	/* Suspend is hard to get right on SMP. */
 	if (num_online_cpus() != 1) {
 		error = -EPERM;
 		goto Unlock;
 	}
+#endif
 
 	if (state == PM_SUSPEND_DISK) {
 		error = pm_suspend_disk();

-Huw
-- 
Huw Rogers <count0-tC47gz4GrgtWk0Htik3J/w@public.gmane.org>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

  parent reply	other threads:[~2004-02-25  5:50 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 18:27 Desktop and S3 suspend the Holy Grail of ACPI? nick
     [not found] ` <4038F499.2060302-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-22 20:25   ` Bruno Ducrot
     [not found]     ` <20040222202519.GB2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-23  2:02       ` Nick Lidakis
     [not found]         ` <40395F51.9060101-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-23  8:45           ` Bruno Ducrot
2004-02-23  6:31   ` Len Brown
     [not found]     ` <1077517907.12673.43.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-24  5:06       ` Nick Lidakis
     [not found]         ` <403ADBCC.9060108-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-25  5:17           ` Len Brown
     [not found]             ` <1077686228.5911.93.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-25  5:50               ` Huw Rogers [this message]
2004-02-27  3:20               ` Nick Lidakis
2004-02-25 18:20   ` Pavel Machek
     [not found]     ` <20040225182030.GG1214-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 21:38       ` Nick Lidakis
     [not found]         ` <40410A69.3070800-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 22:04           ` Pavel Machek
     [not found]             ` <20040228220435.GD10530-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 22:17               ` Nick Lidakis
     [not found]                 ` <4041136B.9000904-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 23:09                   ` Pavel Machek
     [not found]                     ` <20040228230941.GA488-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-29  0:19                       ` count0-tC47gz4GrgtWk0Htik3J/w
     [not found]                         ` <1950.66.108.215.112.1078013994.squirrel-2RFepEojUI20LjuDPgauC1aTQe2KTcn/@public.gmane.org>
2004-02-29  7:20                           ` Pavel Machek
2004-03-02  2:08                       ` Nick Lidakis
     [not found]                         ` <4043ECB4.7080203-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 10:19                           ` Pavel Machek
     [not found]                             ` <20040302101904.GA303-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-02 21:51                               ` Nick Lidakis
     [not found]                                 ` <404501D8.8090506-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 22:34                                   ` Pavel Machek
     [not found]                                     ` <20040302223446.GG1225-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-04  0:42                                       ` Nick Lidakis
     [not found]                                         ` <40467B8E.7060709-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-04  0:51                                           ` Nick Lidakis
2004-03-04 10:52                                           ` Pavel Machek
     [not found]                                             ` <20040304105233.GA308-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-09 22:52                                               ` Nick Lidakis
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25  9:43 Yu, Luming
2004-03-02  2:55 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E7B-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  2:56   ` Nick Lidakis
2004-03-02  3:12 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E87-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:17   ` Nick Lidakis
2004-03-02  3:33 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E94-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:29   ` Nick Lidakis

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=20040225004109.AB48.COUNT0@localnet.com \
    --to=count0-tc47gz4grgtwk0htik3j/w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=nlidakis-H+0wwilmMs3R7s880joybQ@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