MIPS: Loongson-3: IRQ balancing for PCI devices
authorHuacai Chen <chenhc@lemote.com>
Thu, 22 Jun 2017 15:06:52 +0000 (23:06 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 23 Dec 2017 00:39:51 +0000 (00:39 +0000)
commit64648e0e5c4aa4d0ff521768f0616816d453a1fe
treec4af8c453d1ee42352a2187b03595bc8fda10bb3
parenta34c0bbce9efa37a3e7e54c8739dcecf13bd8c64
MIPS: Loongson-3: IRQ balancing for PCI devices

IRQ0 (HPET), IRQ1 (Keyboard), IRQ2 (Cascade), IRQ7 (SCI), IRQ8 (RTC)
and IRQ12 (Mouse) are handled by core-0 locally. Other PCI IRQs (3, 4,
5, 6, 14, 15) are balanced by all cores from Node-0. This can improve
I/O performance significantly.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <Steven.Hill@cavium.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16589/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Gbp-Pq: Topic features/mips
Gbp-Pq: Name mips-loongson-3-irq-balancing-for-pci-devices.patch
arch/mips/loongson64/loongson-3/irq.c
arch/mips/loongson64/loongson-3/smp.c