x86, apic: Use logical flat on intel with <= 8 logical cpus
authorSuresh Siddha <suresh.b.siddha@intel.com>
Sat, 19 Sep 2009 02:29:59 +0000 (19:29 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Sep 2009 07:20:05 +0000 (09:20 +0200)
commit2fbd07a5f5d1295fa9b0c0564ec27da7c276a75a
tree45fd32e811bd2c2cf5229bb71357d89c664033a9
parentdaf7b9c9216e2b82e4c14b7248a85286dab021c3
x86, apic: Use logical flat on intel with <= 8 logical cpus

On Intel platforms, 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.

Fix the relevant comments while we are at it.

We can clean up default_setup_apic_routing() by using apic->probe()
but that is a different item.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: "yinghai@kernel.org" <yinghai@kernel.org>
LKML-Reference: <1253327399.3948.747.camel@sbs-t61.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/probe_64.c