]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - arch/mips/Kconfig
MIPS: Loongson: Set Loongson32 to MIPS32R1
author谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Thu, 1 Jun 2017 10:41:34 +0000 (18:41 +0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 31 Jul 2018 01:54:15 +0000 (18:54 -0700)
commit968dc5a0eaca707f8eb2fbad57d9fbbf3284541e
tree4520f3977b4e6e9ba5dcc195911f3d6f16f693c5
parent6386889ac23e2c1c8276a111765421577539dd7a
MIPS: Loongson: Set Loongson32 to MIPS32R1

LS232 (Loonson 2-issue 32-bit, also called GS232 (Godson 2-issue 32-bit))
is the CPU core (microarchitecture) of Loongson 1A/1B/1C.

According to "LS232 用户手册 (LS232 User Manual)", LS232 implements the
MIPS32 Release 1 instruction set, and part of the MIPS32 Release 2
instruction set.

In the manual, LS232 implements all of the MIPS32R2 instruction set
except the FPU instructions, and LS232 also implements 5 FPU
instructions of the MIPS32R2 instruction set: CEIL.L.fmt, CVT.L.fmt,
FLOOR.L.fmt, TRUNC.L.fmt, and ROUND.L.fmt.

But a bug of the DI instruction has been found during tests, the DI
instruction can not disable interrupts in arch_local_irq_disable() with
CONFIG_PREEMPT_NONE=y and CFLAGS='-mno-branch-likely' in some cases.

[paul.burton@mips.com:
  - Remove the _MIPS_ISA redefinition to match the change made for the
    generic MIPSr1 CPUs by commit 344ebf09949c ("MIPS: Always use
    -march=<arch>, not -<arch> shortcuts").]

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/16155/
Cc: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
arch/mips/Kconfig
arch/mips/loongson32/Platform