https://github.com/torvalds/linux
Revision 1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef authored by Huacai Chen on 13 July 2022, 10:00:41 UTC, committed by Huacai Chen on 29 July 2022, 10:22:33 UTC
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: Huacai Chen <chenhuacai@loongson.cn>
1 parent 317980e
Raw File
Tip revision: 1aea29d7c3569e5b6c40e73c51e9f4b2142c96ef authored by Huacai Chen on 13 July 2022, 10:00:41 UTC
LoongArch: Fix shared cache size calculation
Tip revision: 1aea29d
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
*.dtsi diff=dts
*.dts  diff=dts
back to top