]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: Loongson64: Select mac2008 only feature
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Mon, 13 Jan 2020 10:16:12 +0000 (18:16 +0800)
committerPaul Burton <paulburton@kernel.org>
Wed, 22 Jan 2020 23:57:52 +0000 (15:57 -0800)
Some Loongson-64 processor didn't set MAC2008 bit in fcsr,
but actually all Loongson64 processors are MAC2008 only.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h

index 7dc8d75445a961e2055af39f2b765d73af5f663c..f4953be1d546869fc7c8fd66c292e7268fa17c29 100644 (file)
@@ -46,5 +46,6 @@
 #define cpu_has_wsbh           1
 #define cpu_has_ic_fills_f_dc  1
 #define cpu_hwrena_impl_bits   0xc0000000
+#define cpu_has_mac2008_only   1
 
 #endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */