This patchset is is prepared for the next 4.7 release for Linux/MIPS. It adds Loongson's NMI handler support, adds a "model name" knob in /proc/cpuinfo which is needed by some userspace tools, improves I/O performance by IRQ balancing and IRQ affinity setting, and introduces LOONGSON_LLSC_WAR to improve stability. Huacai Chen(6): MIPS: Loongson: Add NMI handler support. MIPS: Loongson-3: IRQ balancing for PCI devices. MIPS: Loongson-3: support irq_set_affinity() in i8259 chip. MIPS: Loogson: Make enum loongson_cpu_type more clear. MIPS: Add __cpu_full_name[] to make CPU names more human-readable. MIPS: Loongson: Introduce and use LOONGSON_LLSC_WAR. Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx> --- arch/mips/include/asm/atomic.h | 107 ++++++++ arch/mips/include/asm/bitops.h | 273 ++++++++++++++++----- arch/mips/include/asm/cmpxchg.h | 54 ++++ arch/mips/include/asm/cpu-info.h | 2 + arch/mips/include/asm/edac.h | 33 ++- arch/mips/include/asm/futex.h | 62 +++++ arch/mips/include/asm/irq.h | 3 + arch/mips/include/asm/local.h | 34 +++ arch/mips/include/asm/mach-cavium-octeon/war.h | 1 + arch/mips/include/asm/mach-generic/war.h | 1 + arch/mips/include/asm/mach-ip22/war.h | 1 + arch/mips/include/asm/mach-ip27/war.h | 1 + arch/mips/include/asm/mach-ip28/war.h | 1 + arch/mips/include/asm/mach-ip32/war.h | 1 + arch/mips/include/asm/mach-loongson64/boot_param.h | 22 +- arch/mips/include/asm/mach-loongson64/war.h | 26 ++ arch/mips/include/asm/mach-malta/war.h | 1 + arch/mips/include/asm/mach-pmcs-msp71xx/war.h | 1 + arch/mips/include/asm/mach-rc32434/war.h | 1 + arch/mips/include/asm/mach-rm/war.h | 1 + arch/mips/include/asm/mach-sead3/war.h | 1 + arch/mips/include/asm/mach-sibyte/war.h | 1 + arch/mips/include/asm/mach-tx49xx/war.h | 1 + arch/mips/include/asm/pgtable.h | 19 ++ arch/mips/include/asm/spinlock.h | 142 +++++++++++ arch/mips/include/asm/war.h | 8 + arch/mips/kernel/cpu-probe.c | 12 + arch/mips/kernel/proc.c | 4 + arch/mips/kernel/syscall.c | 34 +++ arch/mips/loongson64/common/env.c | 11 +- arch/mips/loongson64/common/init.c | 13 + arch/mips/loongson64/loongson-3/irq.c | 53 +++- arch/mips/loongson64/loongson-3/smp.c | 18 +- arch/mips/mm/tlbex.c | 17 ++ drivers/irqchip/irq-i8259.c | 3 + 35 files changed, 885 insertions(+), 78 deletions(-) create mode 100644 arch/mips/include/asm/mach-loongson64/war.h -- 2.7.0