]> 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)
commit53f17bb00a5ed3564f3428a9a7290fef048f999e
treeaf042c03e1134c038da817e1b476e7216dd9a47c
parent7a228da3f33a8c0b2af9974d1a0ae357e78e5db0
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