[PATCH] x86: fix the irqbalance quirk for E7320/E7520/E7525
commitb0d0a4ba45760b10ecee9035ed45b442c1a6cc84
authorSiddha, Suresh B <suresh.b.siddha@intel.com>
Thu, 7 Dec 2006 01:14:10 +0000 (7 02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:10 +0000 (7 02:14 +0100)
tree9fbdab9d6cc010b415d38ffccc89ccf03398a89c
parent9899f826fc90beba4f78083f6230e06cbe1050c9
[PATCH] x86: fix the irqbalance quirk for E7320/E7520/E7525

Move the irqbalance quirks for E7320/E7520/E7525(Errata 23 in
http://download.intel.com/design/chipsets/specupdt/30304203.pdf) to early
quirks.

And add a PCI quirk for these platforms to check(which happens very late
during the boot) if the APIC routing is indeed set to default flat mode.

This fixes the breakage(in x86_64) of this quirk due to cpu hotplug which
selects physical mode instead of the logical flat(as needed for this errata
workaround).

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/acpi/earlyquirk.c
arch/i386/kernel/quirks.c
arch/i386/kernel/smpboot.c
arch/x86_64/kernel/early-quirks.c
arch/x86_64/kernel/smpboot.c
include/asm-i386/genapic.h
include/asm-i386/irq.h
include/asm-x86_64/proto.h