public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Willy Tarreau <willy-tRhHnHjXm5DYtjvyW6yDsg@public.gmane.org>
Cc: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
	Bjorn Helgaas <bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>,
	Marcelo Tosatti
	<marcelo.tosatti-3EexvZdKGZRWk0Htik3J/w@public.gmane.org>,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Re: fix ACPI poweroff in 2.4.25-rc2
Date: 06 Mar 2004 01:21:26 -0500	[thread overview]
Message-ID: <1078554086.12991.3191.camel@dhcppc4> (raw)
In-Reply-To: <20040303202027.GA30084-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>

Willy,
Zwane was right, set_cpus_allowed() fixes the SMP poweroff problem.  The
patch is here:

http://bugzilla.kernel.org/show_bug.cgi?id=1141

thanks,
-Len

On Wed, 2004-03-03 at 15:20, Willy Tarreau wrote:
> Hi,
> 
> On Wed, Mar 03, 2004 at 07:46:56PM +0000, Matthew Wilcox wrote:
> > On Wed, Mar 03, 2004 at 11:17:25AM -0700, Bjorn Helgaas wrote:
> > > ===== drivers/acpi/system.c 1.18 vs edited =====
> > > --- 1.18/drivers/acpi/system.c	Tue Mar  2 14:50:40 2004
> > > +++ edited/drivers/acpi/system.c	Wed Mar  3 10:43:11 2004
> > > @@ -95,7 +95,9 @@
> > >  {
> > >  	if (unlikely(in_interrupt())) 
> > >  		BUG();
> > > +#ifdef CONFIG_ACPI_SLEEP
> > >  	acpi_system_save_state(ACPI_STATE_S5);
> > > +#endif
> > 
> > Should we not rather define a null acpi_system_save_state() function if
> > CONFIG_ACPI_SLEEP is not set?
> 
> well, since I know of at least one machine on which this patch is not
> enough, and since Pavel says that it might cause reboots on some systems,
> I think that this line has a few chances to stay here anyway. I wish I had
> some time to propose a cleaner version of the patch I sent last week.
> Zwane proposed to try with set_cpus_allowed(). I don't know if this could work
> here, because I don't know how to use it. Perhaps something like
>   set_cpus_allowed(boot_cpu) ; schedule() ?
> 
> Regards,
> Willy
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  parent reply	other threads:[~2004-03-06  6:21 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03 18:17 fix ACPI poweroff in 2.4.25-rc2 Bjorn Helgaas
     [not found] ` <200403031117.25937.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2004-03-03 19:46   ` Matthew Wilcox
     [not found]     ` <20040303194656.GV25779-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2004-03-03 20:05       ` Bjorn Helgaas
     [not found]         ` <200403031305.31966.bjorn.helgaas-VXdhtT5mjnY@public.gmane.org>
2004-03-06  6:16           ` Len Brown
2004-03-03 20:20       ` Willy Tarreau
     [not found]         ` <20040303202027.GA30084-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-06  6:21           ` Len Brown [this message]
     [not found]             ` <1078554086.12991.3191.camel-D2Zvc0uNKG8@public.gmane.org>
2004-03-06  8:52               ` Willy Tarreau
2004-03-06  9:16               ` Willy Tarreau
2004-03-06 11:01               ` Willy Tarreau
2004-03-08 16:34   ` Pavel Machek
     [not found]     ` <20040308163452.GE5352-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-03-08 18:15       ` Marcelo Tosatti
     [not found]         ` <Pine.LNX.4.44.0403081515190.10436-100000-N7x2SXzAOustNcHCoTQCcg@public.gmane.org>
2004-03-08 18:23           ` Pavel Machek
2004-03-08 18:32           ` Pavel Machek
     [not found]             ` <20040308183228.GD484-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-08 18:39               ` Marcelo Tosatti
     [not found]                 ` <Pine.LNX.4.44.0403081539370.13683-100000-N7x2SXzAOustNcHCoTQCcg@public.gmane.org>
2004-03-08 19:58                   ` Pavel Machek
2004-03-08 20:14               ` Willy Tarreau
     [not found]                 ` <20040308201411.GA18636-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-08 20:54                   ` Pavel Machek
     [not found]                     ` <20040308205444.GH484-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-08 21:11                       ` Willy Tarreau
2004-03-09 23:33                       ` [PATCH] ACPI poweroff fixes for 2.4.26-pre2 Willy Tarreau
     [not found]                         ` <20040309233325.GA22953-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-10 11:46                           ` Sérgio Monteiro Basto
2004-03-11 10:51                           ` Bruno Ducrot
2004-03-14 15:51                           ` Sérgio Monteiro Basto
     [not found]                             ` <1079279490.10225.10.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-15 21:07                               ` Willy Tarreau
     [not found]                                 ` <20040315210729.GA19306-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-15 22:23                                   ` Sérgio Monteiro Basto
     [not found]                                     ` <1079389434.3695.2.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-15 23:19                                       ` Willy Tarreau
     [not found]                                         ` <20040315231927.GA19829-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-22 10:59                                           ` Pavel Machek
     [not found]                                             ` <20040322105946.GC1505-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-03-25 22:22                                               ` Sérgio Monteiro Basto
     [not found]                                                 ` <1080253327.3755.20.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-25 22:29                                                   ` Pavel Machek
     [not found]                                                     ` <20040325222934.GF2179-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-25 22:50                                                       ` Sérgio Monteiro Basto
     [not found]                                                         ` <1080255058.4187.1.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-25 23:00                                                           ` Pavel Machek
     [not found]                                                             ` <20040325230037.GK2179-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-26  1:01                                                               ` Sérgio Monteiro Basto
     [not found]                                                                 ` <1080262910.4144.39.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-26 17:41                                                                   ` Sérgio Monteiro Basto
     [not found]                                                                     ` <1080322903.2325.113.camel-4/PLUo9XfK8@public.gmane.org>
2004-03-26 22:07                                                                       ` Pavel Machek
     [not found]                                                                         ` <20040326220723.GC9491-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-26 22:34                                                                           ` Sérgio Monteiro Basto
2004-03-27 14:01                                                                           ` Sérgio Monteiro Basto
2004-03-26  5:55                                                               ` Willy Tarreau
     [not found]                                                                 ` <20040326055547.GA26599-HkMpAodKYdnXX8ko2wsARw@public.gmane.org>
2004-03-26  8:53                                                                   ` Hartwig Felger
2004-03-26 10:06                                                                   ` Pavel Machek

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=1078554086.12991.3191.camel@dhcppc4 \
    --to=len.brown-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=bjorn.helgaas-VXdhtT5mjnY@public.gmane.org \
    --cc=marcelo.tosatti-3EexvZdKGZRWk0Htik3J/w@public.gmane.org \
    --cc=willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
    --cc=willy-tRhHnHjXm5DYtjvyW6yDsg@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