]> git.baikalelectronics.ru Git - kernel.git/commit
x86, apic: use logical flat for systems with <= 8 logical cpus
authorSuresh Siddha <suresh.b.siddha@intel.com>
Mon, 18 Jan 2010 20:10:49 +0000 (12:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 18 Jan 2010 22:15:28 +0000 (14:15 -0800)
commit1c6db731586567d7aa4363cf4125ff3faf141ddd
treed41b25f7f9a8dcfcfeea13be8035799f3e154216
parent5b47985a6267303bad0f2d82f17fa566dc735ece
x86, apic: use logical flat for systems with <= 8 logical cpus

We can use logical flat mode if there are <= 8 logical cpu's
(irrespective of physical apic id values).  This will enable simplified
and efficient IPI and device interrupt routing on such platforms.

This has been tested to work on both Intel and AMD platforms.
Exceptions like IBM summit platform which can't use logical flat mode
are addressed by using OEM platform checks.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Chris McDermott <lcm@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/probe_64.c