]> Git Repo - linux.git/commit
MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
authorHuacai Chen <[email protected]>
Thu, 15 Nov 2018 07:53:53 +0000 (15:53 +0800)
committerPaul Burton <[email protected]>
Wed, 21 Nov 2018 05:04:17 +0000 (21:04 -0800)
commitbb53fdf395eed103f85061bfff3b116cee123895
tree08a5de314f46e6d338833043af143bd391b58ee1
parent1e35918ad9d1172efdc78e28cf0d2209194f3961
MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3

For multi-node Loongson-3 (NUMA configuration), r4k_blast_scache() can
only flush Node-0's scache. So we add r4k_blast_scache_node() by using
(CAC_BASE | (node_id << NODE_ADDRSPACE_SHIFT)) instead of CKSEG0 as the
start address.

Signed-off-by: Huacai Chen <[email protected]>
[[email protected]: Include asm/mmzone.h from asm/r4kcache.h for
       nid_to_addrbase(). Add asm/mach-generic/mmzone.h
       to allow inclusion for all platforms.]
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/21129/
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Steven J . Hill <[email protected]>
Cc: [email protected]
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Cc: <[email protected]> # 3.15+
arch/mips/include/asm/mach-generic/mmzone.h [new file with mode: 0644]
arch/mips/include/asm/mach-loongson64/mmzone.h
arch/mips/include/asm/mmzone.h
arch/mips/include/asm/r4kcache.h
arch/mips/mm/c-r4k.c
This page took 0.063159 seconds and 4 git commands to generate.