]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: add procfs-sysfs dump from VisionFive 2
authorJan Engelhardt <jengelh@inai.de>
Tue, 23 Jan 2024 21:58:17 +0000 (21:58 +0000)
committerJan Engelhardt <jengelh@inai.de>
Wed, 24 Jan 2024 00:16:40 +0000 (00:16 +0000)
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
tests/expected/lscpu/lscpu-rv64-visionfive2 [new file with mode: 0644]
tests/ts/lscpu/dumps/rv64-visionfive2.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-rv64-visionfive2 b/tests/expected/lscpu/lscpu-rv64-visionfive2
new file mode 100644 (file)
index 0000000..0b2390d
--- /dev/null
@@ -0,0 +1,33 @@
+Byte Order:          Little Endian
+CPU(s):              4
+On-line CPU(s) list: 0-3
+Vendor ID:           0x489
+Model name:          sifive,u74-mc
+CPU family:          0x8000000000000007
+Model:               0x4210427
+Thread(s) per core:  1
+Core(s) per socket:  4
+Socket(s):           1
+L1d cache:           128 KiB (4 instances)
+L1i cache:           128 KiB (4 instances)
+L2 cache:            2 MiB (1 instance)
+NUMA node(s):        1
+NUMA node0 CPU(s):   0-3
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting usually from zero.
+# CPU,Core,Socket,Node,,L1d,L1i,L2
+0,0,0,0,,0,0,0
+1,1,0,0,,1,1,0
+2,2,0,0,,2,2,0
+3,3,0,0,,3,3,0
+
+# The following is the parsable format, which can be fed to other
+# programs. Each different item in every column has an unique ID
+# starting usually from zero.
+# CPU,Core,Socket,Node,,L1d,L1i,L2
+0,3,0,0,,0,0,0
+1,1,0,0,,1,1,0
+2,2,0,0,,2,2,0
+3,4,0,0,,3,3,0
diff --git a/tests/ts/lscpu/dumps/rv64-visionfive2.tar.gz b/tests/ts/lscpu/dumps/rv64-visionfive2.tar.gz
new file mode 100644 (file)
index 0000000..23666f1
Binary files /dev/null and b/tests/ts/lscpu/dumps/rv64-visionfive2.tar.gz differ