]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4dad7c386da9008960eee5a7ef6012134f30f5b6
tree45fd32e811bd2c2cf5229bb71357d89c664033a9
parent00514d026849c9a0ed71a1eca691d298ea0aeb47
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