]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cacheinfo: Add missing VCache
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Wed, 30 Dec 2020 03:39:48 +0000 (11:39 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 4 Jan 2021 10:23:52 +0000 (11:23 +0100)
commitb81f584f933c56f500cd909f950e61083405c7cf
treeaf042c03e1134c038da817e1b476e7216dd9a47c
parent2eb7ebb5b403756ad5038d6c8cfa9ed05dd9d30b
MIPS: cacheinfo: Add missing VCache

Victim Cache is defined by Loongson as per-core unified
private Cache.
Add this into cacheinfo and make cache levels selfincrement
instead of hardcode levels.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Tested-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/cacheinfo.c