mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Cc: Andi Kleen <[email protected]> Cc: "Li, Shaohua" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
parent
9899f826fc
commit
b0d0a4ba45
8 changed files with 88 additions and 12 deletions
|
|
@ -122,6 +122,6 @@ struct genapic {
|
|||
APICFUNC(phys_pkg_id) \
|
||||
}
|
||||
|
||||
extern struct genapic *genapic;
|
||||
extern struct genapic *genapic, apic_default;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ static __inline__ int irq_canonicalize(int irq)
|
|||
extern int irqbalance_disable(char *str);
|
||||
#endif
|
||||
|
||||
extern void quirk_intel_irqbalance(void);
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CPU
|
||||
extern void fixup_irqs(cpumask_t map);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue