]> git.hungrycats.org Git - linux/commit
[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme
authorAndrew Morton <akpm@osdl.org>
Sun, 21 Sep 2003 08:40:26 +0000 (01:40 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 21 Sep 2003 08:40:26 +0000 (01:40 -0700)
commit3347917099cab2ab63cdb126af1b18c15df1d106
treeed42849aa1f8aea54c7b8127bf095d42b55098e9
parentc5d9f06fd72704f560fe9b560ce51083cbcad20f
[PATCH] Summit sub-arch: Make logical IDs independent of BIOS numbering scheme

From: James Cleverdon <jamesclv@us.ibm.com>

In forthcoming IBM x445 systems, the physical APIC ID will not follow the
simple rule laid out by Intel and encoded into xapic_phys_to_log_apicid.
(The BIOS code that sets IDs doesn't work right above 16 CPUs if HT is turned
on, so for > 16-way the BIOS will disable HT and repack the physical CPUs
into APIC clusters.)

Anyway, it's a good idea to make the APIC code more independent of any
particular BIOS numbering scheme.  This patch allocates logical IDs based on
how many CPUs have already been onlined in a particular APIC cluster.
include/asm-i386/mach-summit/mach_apic.h