]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lscpu: add procfs–sysfs dump from Milk-V Pioneer
authorJan Engelhardt <jengelh@inai.de>
Fri, 30 Aug 2024 20:44:56 +0000 (20:44 +0000)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Sep 2024 08:11:43 +0000 (10:11 +0200)
already in tree:

 rv64-linux: just a BeagleV Starlight SBC (no longer in production)
 rv64-visionfive2 is interesting because it's a system with an odd CPU count / mix of core types (4+1)

new dump:

 rv64-milkvpioneer is interesting because it's arguably a server board, i.e. with a whole bunch of cores and NUMA nodes.

[kzak@redhat.com: - add this commit message]

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
tests/expected/lscpu/lscpu-rv64-milkvpioneer [new file with mode: 0644]
tests/ts/lscpu/dumps/rv64-milkvpioneer.tar.gz [new file with mode: 0644]

diff --git a/tests/expected/lscpu/lscpu-rv64-milkvpioneer b/tests/expected/lscpu/lscpu-rv64-milkvpioneer
new file mode 100644 (file)
index 0000000..8345664
--- /dev/null
@@ -0,0 +1,152 @@
+CPU(s):              64
+On-line CPU(s) list: 0-63
+Vendor ID:           0x5b7
+Model name:          -
+CPU family:          0x0
+Model:               0x0
+Thread(s) per core:  1
+Core(s) per socket:  64
+Socket(s):           1
+NUMA node(s):        4
+NUMA node0 CPU(s):   0-7,16-23
+NUMA node1 CPU(s):   8-15,24-31
+NUMA node2 CPU(s):   32-39,48-55
+NUMA node3 CPU(s):   40-47,56-63
+
+# 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
+0,0,0,0
+1,1,0,0
+2,2,0,0
+3,3,0,0
+4,4,0,0
+5,5,0,0
+6,6,0,0
+7,7,0,0
+8,8,0,1
+9,9,0,1
+10,10,0,1
+11,11,0,1
+12,12,0,1
+13,13,0,1
+14,14,0,1
+15,15,0,1
+16,16,0,0
+17,17,0,0
+18,18,0,0
+19,19,0,0
+20,20,0,0
+21,21,0,0
+22,22,0,0
+23,23,0,0
+24,24,0,1
+25,25,0,1
+26,26,0,1
+27,27,0,1
+28,28,0,1
+29,29,0,1
+30,30,0,1
+31,31,0,1
+32,32,0,2
+33,33,0,2
+34,34,0,2
+35,35,0,2
+36,36,0,2
+37,37,0,2
+38,38,0,2
+39,39,0,2
+40,40,0,3
+41,41,0,3
+42,42,0,3
+43,43,0,3
+44,44,0,3
+45,45,0,3
+46,46,0,3
+47,47,0,3
+48,48,0,2
+49,49,0,2
+50,50,0,2
+51,51,0,2
+52,52,0,2
+53,53,0,2
+54,54,0,2
+55,55,0,2
+56,56,0,3
+57,57,0,3
+58,58,0,3
+59,59,0,3
+60,60,0,3
+61,61,0,3
+62,62,0,3
+63,63,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
+0,1,0,0
+1,0,0,0
+2,2,0,0
+3,3,0,0
+4,0,0,0
+5,1,0,0
+6,2,0,0
+7,3,0,0
+8,0,0,1
+9,1,0,1
+10,2,0,1
+11,3,0,1
+12,0,0,1
+13,1,0,1
+14,2,0,1
+15,3,0,1
+16,0,0,0
+17,1,0,0
+18,2,0,0
+19,3,0,0
+20,0,0,0
+21,1,0,0
+22,2,0,0
+23,3,0,0
+24,0,0,1
+25,1,0,1
+26,2,0,1
+27,3,0,1
+28,0,0,1
+29,1,0,1
+30,2,0,1
+31,3,0,1
+32,0,0,2
+33,1,0,2
+34,2,0,2
+35,3,0,2
+36,0,0,2
+37,1,0,2
+38,2,0,2
+39,3,0,2
+40,0,0,3
+41,1,0,3
+42,2,0,3
+43,3,0,3
+44,0,0,3
+45,1,0,3
+46,2,0,3
+47,3,0,3
+48,0,0,2
+49,1,0,2
+50,2,0,2
+51,3,0,2
+52,0,0,2
+53,1,0,2
+54,2,0,2
+55,3,0,2
+56,0,0,3
+57,1,0,3
+58,2,0,3
+59,3,0,3
+60,0,0,3
+61,1,0,3
+62,2,0,3
+63,3,0,3
diff --git a/tests/ts/lscpu/dumps/rv64-milkvpioneer.tar.gz b/tests/ts/lscpu/dumps/rv64-milkvpioneer.tar.gz
new file mode 100644 (file)
index 0000000..1511039
Binary files /dev/null and b/tests/ts/lscpu/dumps/rv64-milkvpioneer.tar.gz differ