Skip to content

Commit 7e280f6

Browse files
FlyGoatpaulburton
authored andcommitted
MIPS: Loongson32: Revert ISA level to MIPS32R2
GS232 core have implemented all necessary mips32r2 instructions. Serval missing FP instructions can be emulated by kernel. The issue of di instruction have been solved. Thus we revert the ISA level back to MIPS32R2. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: keguang.zhang@gmail.com
1 parent bdea8bb commit 7e280f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/mips/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ config CPU_LOONGSON2
18641864
config CPU_LOONGSON1
18651865
bool
18661866
select CPU_MIPS32
1867-
select CPU_MIPSR1
1867+
select CPU_MIPSR2
18681868
select CPU_HAS_PREFETCH
18691869
select CPU_HAS_LOAD_STORE_LR
18701870
select CPU_SUPPORTS_32BIT_KERNEL

arch/mips/loongson32/Platform

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cflags-$(CONFIG_CPU_LOONGSON1) += -march=mips32 -Wa,--trap
1+
cflags-$(CONFIG_CPU_LOONGSON1) += -march=mips32r2 -Wa,--trap
22
platform-$(CONFIG_MACH_LOONGSON32) += loongson32/
33
cflags-$(CONFIG_MACH_LOONGSON32) += -I$(srctree)/arch/mips/include/asm/mach-loongson32
44
load-$(CONFIG_CPU_LOONGSON1) += 0xffffffff80200000

0 commit comments

Comments
 (0)