public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI oddity
@ 2005-07-25 21:15 Bill Davidsen
  0 siblings, 0 replies; 3+ messages in thread
From: Bill Davidsen @ 2005-07-25 21:15 UTC (permalink / raw)
  To: Linux Kernel Mailing List

On a HT system, why does ACPI recognize CPU0 and CPU1, refer to them as 
such in dmesg, and then call them CPU1 and CPU2 in /proc/acpi/processor?

In uni kernels the single processor is CPU0.

This is a 2.6.10 kernel, the machine has been up since then. I have 
other 2.6 machines and other SMP and/or HT machines, but all of the HT 
machines running 2.6 are behind a hard firewall except one.

It's running the ASUS P4P800 board which is why I looked, BIOS 1086.

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: ACPI oddity
@ 2005-07-26  5:01 Brown, Len
  2005-07-26 13:23 ` Bill Davidsen
  0 siblings, 1 reply; 3+ messages in thread
From: Brown, Len @ 2005-07-26  5:01 UTC (permalink / raw)
  To: Bill Davidsen, Linux Kernel Mailing List; +Cc: acpi-devel

>On a HT system, why does ACPI recognize CPU0 and CPU1, refer 
>to them as such in dmesg

This is the Linux CPU number. ie the namespace where 0
is the boot processor and the others are numbered in
the order that they were started.

> and then call them CPU1 and CPU2 in 
>/proc/acpi/processor?

These are arbitrary device identifiers written
by the BIOS developer and foolishly advertised
to the user by Linux.  The BIOS writer could have
also called them ABC9 and XYZ4 and it would be
equally valid.

We're planning to get rid of all the ACPI stuff
in /proc and move to sysfs.  At that time we'll
use device identifies that are deterministic,
like cpu%d that /sys/devices/system uses today.

cheers,
-Len

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-26 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 21:15 ACPI oddity Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2005-07-26  5:01 Brown, Len
2005-07-26 13:23 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox