Thread (147 messages) 147 messages, 8 authors, 2017-08-26

Re: [PATCH 3.16 032/134] MIPS: Loongson-3: Select MIPS_L1_CACHE_SHIFT_6

From: Huacai Chen <hidden>
Date: 2017-08-21 02:24:42
Also in: linux-mips, lkml

3.16 doesn't need this, because 3.16 doesn't support Loongson-3 R2/R3.

Huacai

On Fri, Aug 18, 2017 at 9:13 PM, Ben Hutchings [off-list ref] wrote:
quoted hunk ↗ jump to hunk
3.16.47-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Huacai Chen <redacted>

commit 17c99d9421695a0e0de18bf1e7091d859e20ec1d upstream.

Some newer Loongson-3 have 64 bytes cache lines, so select
MIPS_L1_CACHE_SHIFT_6.

Signed-off-by: Huacai Chen <redacted>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J . Hill <redacted>
Cc: Fuxin Zhang <redacted>
Cc: Zhangjin Wu <redacted>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15755/
Signed-off-by: Ralf Baechle <redacted>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <redacted>
---
 arch/mips/Kconfig | 1 +
 1 file changed, 1 insertion(+)
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1193,6 +1193,7 @@ config CPU_LOONGSON3
        select CPU_SUPPORTS_HUGEPAGES
        select WEAK_ORDERING
        select WEAK_REORDERING_BEYOND_LLSC
+       select MIPS_L1_CACHE_SHIFT_6
        help
                The Loongson 3 processor implements the MIPS64R2 instruction
                set with many extensions.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help