MIPS: Loongson64: Define and use some CP0 registers
authorHuacai Chen <chenhc@lemote.com>
Sat, 28 Apr 2018 03:21:26 +0000 (11:21 +0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 24 Jul 2018 00:56:52 +0000 (17:56 -0700)
commit97ab1bb4901cb5e1e43f6f7effd44e03d0e7427d
treec456abc666506b5ca0d7be15b64759c7c6afc0c3
parent7cff3f168999fd1de4a41c5971363f42d49e961f
MIPS: Loongson64: Define and use some CP0 registers

Defines CP0_CONFIG3, CP0_CONFIG6, CP0_PAGEGRAIN and use them in
kernel-entry-init.h for Loongson64.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19264/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <james.hogan@mips.com>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
arch/mips/include/asm/mach-loongson64/kernel-entry-init.h
arch/mips/include/asm/mipsregs.h