linux-stable/arch/mips/loongson/loongson-3
Huacai Chen e1fb96e064 MIPS: Loongson-3: Fix a cpu-hotplug issue in loongson3_ipi_interrupt()
setup_per_cpu_areas() only setup __per_cpu_offset[] for each possible
cpu, but loongson_sysconf.nr_cpus can be greater than possible cpus
(due to reserved_cpus_mask). So in loongson3_ipi_interrupt(), percpu
access will touch the original varible in .data..percpu section which
has been freed. Without this patch, cpu-hotplug will cause memery
corruption.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/10524/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-06-06 10:21:10 +02:00
..
cop2-ex.c MIPS: Respect the ISA level in FCSR handling 2015-04-08 01:10:37 +02:00
hpet.c MIPS: Loongson-3: remove deprecated IRQF_DISABLED 2015-04-01 17:22:00 +02:00
irq.c MIPS: Loongson-3: Add IRQF_NO_SUSPEND to Cascade irqaction 2015-03-25 13:47:55 +01:00
Makefile MIPS: Loongson-3: Add RS780/SBX00 HPET support 2014-11-24 07:45:02 +01:00
numa.c mips: fix up obsolete cpu function usage. 2015-03-05 15:25:06 +10:30
platform.c MIPS: Loongson: Improve LEFI firmware interface 2014-11-24 07:45:01 +01:00
smp.c MIPS: Loongson-3: Fix a cpu-hotplug issue in loongson3_ipi_interrupt() 2015-06-06 10:21:10 +02:00
smp.h MIPS: Add Loongson-3B support 2014-07-30 21:47:00 +02:00