From: Bill Davidsen <davidsen@tmr.com>
To: Alexey Starikovskiy <astarikovskiy@suse.de>
Cc: Mark Lord <lkml@rtr.ca>, "H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: regression in 2.6.23-rc8 - power off failed
Date: Sat, 29 Sep 2007 16:47:06 -0400 [thread overview]
Message-ID: <46FEB9CA.9090703@tmr.com> (raw)
In-Reply-To: <46FE6E17.6070109@suse.de>
Alexey Starikovskiy wrote:
> -static void
> -acpi_power_off (void)
> -{
> - printk("%s called\n",__FUNCTION__);
> - /* Some SMP machines only can poweroff in boot CPU */
> - set_cpus_allowed(current, cpumask_of_cpu(0));
> ACPI in kernel 2.6.12 did disable non-boot cpus too in powe_off.
> Later only comment was left for some reason...
>
Am I midreading that code, or does it really assume that the boot cpu is
always zero? Or just that zero will be able to do the power off?
In any case I have had an SMP machine which did not have a CPU zero, and
it was discussed here, I believe. Wonder what happens if you set
affinity to a CPU you don't have...
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
next prev parent reply other threads:[~2007-09-29 20:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-29 0:54 regression in 2.6.23-rc8 - power off failed Wolfgang Erig
2007-09-29 2:59 ` Frans Pop
2007-09-29 3:29 ` Frans Pop
2007-09-29 3:05 ` H. Peter Anvin
2007-09-29 8:22 ` Wolfgang Erig
2007-09-29 8:30 ` H. Peter Anvin
2007-09-29 9:35 ` Wolfgang Erig
2007-09-29 12:40 ` Mark Lord
2007-09-29 15:24 ` Alexey Starikovskiy
2007-09-29 20:47 ` Bill Davidsen [this message]
2007-09-29 21:08 ` Rafael J. Wysocki
2007-10-01 17:55 ` Alexey Starikovskiy
2007-10-01 20:30 ` Rafael J. Wysocki
2007-09-29 18:07 ` Wolfgang Erig
2007-09-29 19:45 ` Wolfgang Erig
2007-09-29 22:39 ` H. Peter Anvin
2007-10-08 19:47 ` regression in 2.6.23-rc8 - power off failed: solved Wolfgang Erig
2007-09-29 7:46 ` regression in 2.6.23-rc8 - power off failed Alexey Starikovskiy
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=46FEB9CA.9090703@tmr.com \
--to=davidsen@tmr.com \
--cc=astarikovskiy@suse.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.