Skip to content

i386, x86_64: fix the irqbalance quirk for E7520/E7320/E7525 - V2

Siddha, Suresh B lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Changes in V2 from the cover letter

- Fix compilation breakages
- ifdef and variable name cleanups

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4i386: add write_pci_config_byte() to direct PCI access routinesarch/i386/pci/early.c include/asm-x86_64/pci-direct.h+8 -00 replies
2/4i386: introduce the mechanism of disabling cpu hotplug controlarch/i386/kernel/topology.c include/asm-i386/cpu.h+8 -10 replies
3/4x86_64: add genapic_forcearch/x86_64/kernel/genapic.c include/asm-x86_64/genapic.h+9 -20 replies
4/4fix the irqbalance quirk for E7320/E7520/E7525arch/i386/kernel/acpi/earlyquirk.c arch/i386/kernel/quirks.c arch/i386/kernel/smpboot.c +5 more+88 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] i386, x86_64: fix the irqbalance quirk for E7520/E7320/E7525 - V2

Mechanism of selecting physical mode in genapic when cpu hotplug is enabled on x86_64, broke the quirk(quirk_intel_irqbalance()) introduced for working around the transposing interrupt message errata in E7520/E7320/E7525 (revision ID 0x9 and below. errata #23 in
http://download.intel.com/design/chipsets/specupdt/30304203.pdf).

This errata requires the mode to be in logical flat, so that interrupts can be directed to more than one cpu(and thus use hardware IRQ balancing enabled by BIOS on these platforms).

Following four patches fixes this by moving the quirk to early quirk and forcing the x86_64 genapic selection to logical flat on these platforms.

Thanks to Shaohua for pointing out the breakage.

Changes in V2:
- Fix compilation breakages
- ifdef and variable name cleanups