OSDN Git Service

MIPS: Loongson: Set Loongson-3's ISA level to MIPS64R1
authorHuacai Chen <chenhc@lemote.com>
Tue, 4 Nov 2014 06:13:23 +0000 (14:13 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 19 Nov 2014 17:22:07 +0000 (18:22 +0100)
commit7352c8b13dd9a848b0c5d6209d62761afb164dcb
tree307be3b53c379ccbcf63815f4f0701735dbac33b
parentcc94ea31150f83d1f70ad854c920dd6b739c1628
MIPS: Loongson: Set Loongson-3's ISA level to MIPS64R1

In CPU manual Loongson-3 is MIPS64R2 compatible, but during tests we
found that its EI/DI instructions have problems. So we just set the ISA
level to MIPS64R1.

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: https://patchwork.linux-mips.org/patch/8320/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h
arch/mips/kernel/cpu-probe.c