Skip to content
Commit 1aea29d7 authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Fix shared cache size calculation



Current calculation of shared cache size is from the node (die) scope,
but we hope 'lscpu' to show the shared cache size of the whole package
for multi-die chips (e.g., Loongson-3C5000L, which contains 4 dies in
one package). So fix it by multiplying nodes_per_package.

Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 317980e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment