]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
APIC routing fix
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 12 Sep 2008 11:08:18 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 03:22:57 +0000 (20:22 -0700)
commit90af668a965fd4732996274c7babfc63b090ddf0
tree269b1b425b1255daa2a796a56da30e04c646c690
parent092609f380fe84ab974062729942ba6b0be3a78f
APIC routing fix

commit e0da33646826b66ef933d47ea2fb7a693fd849bf upstream

x86: introduce max_physical_apicid for bigsmp switching

a multi-socket test-system with 3 or 4 ioapics, when 4 dualcore cpus or
2 quadcore cpus installed, needs to switch to bigsmp or physflat.

CPU apic id is [4,11] instead of [0,7], and we need to check max apic
id instead of cpu numbers.

also add check for 32 bit when acpi is not compiled in or acpi=off.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c
arch/x86/kernel/genapic_64.c
arch/x86/kernel/mpparse.c
arch/x86/kernel/setup.c
arch/x86/kernel/setup_32.c
arch/x86/mach-generic/bigsmp.c
include/asm-x86/mpspec.h