MIPS: Loongson-3: Select MIPS_L1_CACHE_SHIFT_6
authorHuacai Chen <[email protected]>
Thu, 16 Mar 2017 13:00:28 +0000 (21:00 +0800)
committerRalf Baechle <[email protected]>
Mon, 10 Apr 2017 09:56:08 +0000 (11:56 +0200)
Some newer Loongson-3 have 64 bytes cache lines, so select
MIPS_L1_CACHE_SHIFT_6.

Signed-off-by: Huacai Chen <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Steven J . Hill <[email protected]>
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15755/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/Kconfig

index f4dd2c322d4b99ac0e227492729915e267b34947..2afb41c52ba0325e5a55c4d05212b586fdfda9b5 100644 (file)
@@ -1374,6 +1374,7 @@ config CPU_LOONGSON3
        select WEAK_ORDERING
        select WEAK_REORDERING_BEYOND_LLSC
        select MIPS_PGD_C0_CONTEXT
+       select MIPS_L1_CACHE_SHIFT_6
        select GPIOLIB
        help
                The Loongson 3 processor implements the MIPS64R2 instruction