From 0e86bc8406959d0d56194d4f404b780e6b70caa4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 19 Mar 2019 13:47:11 +0100 Subject: lscpu: add --caches $ lscpu -C NAME ONE-SIZE ALL-SIZE WAYS TYPE LEVEL L3 8M 8M 16 Unified 3 L2 256K 1M 8 Unified 2 L1i 32K 128K 8 Instruction 1 L1d 32K 128K 8 Data 1 The patch also updates extra caches (s390) output in lsblk summary to be compatible with output about normal caches. Addresses: https://github.com/karelzak/util-linux/issues/663 Signed-off-by: Karel Zak --- tests/expected/lscpu/lscpu-s390-lpar-drawer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/expected') diff --git a/tests/expected/lscpu/lscpu-s390-lpar-drawer b/tests/expected/lscpu/lscpu-s390-lpar-drawer index d2064eeb2..df068fac1 100644 --- a/tests/expected/lscpu/lscpu-s390-lpar-drawer +++ b/tests/expected/lscpu/lscpu-s390-lpar-drawer @@ -20,8 +20,8 @@ L1d cache: 1 MiB L1i cache: 768 KiB L2d cache: 16 MiB L2i cache: 16 MiB -L3 cache: 65536K -L4 cache: 491520K +L3 cache: 64 MiB +L4 cache: 480 MiB NUMA node0 CPU(s): 0-140 Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx sie -- cgit v1.2.3-55-g7522