1 |
Hi Michał, |
2 |
|
3 |
On Tue, Sep 10, 2019 at 10:44:54PM +0200, Michał Górny wrote: |
4 |
> Hi, everyone. |
5 |
> |
6 |
> I've recently (finally!) started adding tests to cpuid2cpuflags. Tests |
7 |
> are based on mocked syscalls that return arch-specific data read from |
8 |
> text files. So far I've got x86 and ppc covered, and now I'd like to |
9 |
> add tests for various arm hardware. Since ARM covers a pretty broad |
10 |
> range of hardware, I'd use as much data as possible, especially from |
11 |
> different ARM generations. |
12 |
> |
13 |
> If you have an ARM board and would like to help, please: |
14 |
> |
15 |
> wget https://dev.gentoo.org/~mgorny/dist/cpuid2cpuflags-7-dev.tar.bz2 |
16 |
> tar -xf cpuid2cpuflags-7-dev.tar.bz2 |
17 |
> cd cpuid2cpuflags-7-dev |
18 |
> ./configure |
19 |
> make hwcap-dump |
20 |
> ./hwcap-dump |
21 |
> |
22 |
> and send me the output along with 'uname -m'. TIA! |
23 |
|
24 |
Sorry for the late reply, I was on vacations in the last couple of |
25 |
weeks. Here is some data on hardware not yet submitted: |
26 |
|
27 |
## Raspberry Pi Zero W: |
28 |
More info at: https://www.raspberrypi.org/products/raspberry-pi-zero-w |
29 |
|
30 |
$ uname -m |
31 |
armv6l |
32 |
|
33 |
$ ./hwcap-dump |
34 |
hwcap:00000000000081d6 |
35 |
hwcap2:0000000000000000 |
36 |
|
37 |
$ lscpu |
38 |
Architecture: armv6l |
39 |
Byte Order: Little Endian |
40 |
CPU(s): 1 |
41 |
On-line CPU(s) list: 0 |
42 |
Thread(s) per core: 1 |
43 |
Core(s) per socket: 1 |
44 |
Socket(s): 1 |
45 |
Vendor ID: ARM |
46 |
Model: 7 |
47 |
Model name: ARM1176 |
48 |
Stepping: r0p7 |
49 |
CPU max MHz: 1000.0000 |
50 |
CPU min MHz: 700.0000 |
51 |
BogoMIPS: 697.95 |
52 |
Flags: half thumb fastmult vfp edsp java tls |
53 |
|
54 |
/proc/cpuinfo: |
55 |
processor : 0 |
56 |
model name : ARMv6-compatible processor rev 7 (v6l) |
57 |
BogoMIPS : 997.08 |
58 |
Features : half thumb fastmult vfp edsp java tls |
59 |
CPU implementer : 0x41 |
60 |
CPU architecture: 7 |
61 |
CPU variant : 0x0 |
62 |
CPU part : 0xb76 |
63 |
CPU revision : 7 |
64 |
|
65 |
Hardware : BCM2835 |
66 |
Revision : 9000c1 |
67 |
Serial : 0000000081342439 |
68 |
|
69 |
## Raspberry Pi 4 Model B: |
70 |
More info at: https://www.raspberrypi.org/products/raspberry-pi-4-model-b |
71 |
|
72 |
$ uname -m |
73 |
armv7l |
74 |
|
75 |
$ ./hwcap-dump |
76 |
hwcap:00000000003fb0d6 |
77 |
hwcap2:0000000000000010 |
78 |
|
79 |
$ lscpu |
80 |
Architecture: armv7l |
81 |
Byte Order: Little Endian |
82 |
CPU(s): 4 |
83 |
On-line CPU(s) list: 0-3 |
84 |
Thread(s) per core: 1 |
85 |
Core(s) per socket: 4 |
86 |
Socket(s): 1 |
87 |
Vendor ID: ARM |
88 |
Model: 3 |
89 |
Model name: Cortex-A72 |
90 |
Stepping: r0p3 |
91 |
CPU max MHz: 1500.0000 |
92 |
CPU min MHz: 600.0000 |
93 |
BogoMIPS: 270.00 |
94 |
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 |
95 |
|
96 |
/proc/cpuinfo |
97 |
processor : 0-3 |
98 |
model name : ARMv7 Processor rev 3 (v7l) |
99 |
BogoMIPS : 270.00 |
100 |
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 |
101 |
CPU implementer : 0x41 |
102 |
CPU architecture: 7 |
103 |
CPU variant : 0x0 |
104 |
CPU part : 0xd08 |
105 |
CPU revision : 3 |
106 |
|
107 |
Hardware : BCM2835 |
108 |
Revision : c03111 |
109 |
Serial : 00000000299a8a34 |
110 |
|
111 |
## HP Moonshot XGene 1: |
112 |
More info at: https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04500662 |
113 |
|
114 |
$ uname -m |
115 |
aarch64 |
116 |
|
117 |
$ ./hwcap-dump |
118 |
hwcap:0000000000000007 |
119 |
hwcap2:0000000000000000 |
120 |
|
121 |
$ lscpu |
122 |
Architecture: aarch64 |
123 |
Byte Order: Little Endian |
124 |
CPU(s): 8 |
125 |
On-line CPU(s) list: 0-7 |
126 |
Thread(s) per core: 1 |
127 |
Core(s) per socket: 8 |
128 |
Socket(s): 1 |
129 |
NUMA node(s): 1 |
130 |
Model: 1 |
131 |
BogoMIPS: 100.00 |
132 |
NUMA node0 CPU(s): 0-7 |
133 |
Flags: fp asimd evtstrm |
134 |
|
135 |
/proc/cpuinfo: |
136 |
processor : 0-7 |
137 |
BogoMIPS : 100.00 |
138 |
Features : fp asimd evtstrm |
139 |
CPU implementer : 0x50 |
140 |
CPU architecture: 8 |
141 |
CPU variant : 0x0 |
142 |
CPU part : 0x000 |
143 |
CPU revision : 1 |
144 |
|
145 |
## Cavium ThunderX: |
146 |
More info at: https://en.wikichip.org/wiki/cavium/thunderx |
147 |
|
148 |
$ uname -m |
149 |
aarch64 |
150 |
|
151 |
$ ./hwcap-dump |
152 |
hwcap:00000000000001ff |
153 |
hwcap2:0000000000000000 |
154 |
|
155 |
$ lscpu |
156 |
Architecture: aarch64 |
157 |
Byte Order: Little Endian |
158 |
CPU(s): 96 |
159 |
On-line CPU(s) list: 0-95 |
160 |
Thread(s) per core: 1 |
161 |
Core(s) per socket: 48 |
162 |
Socket(s): 2 |
163 |
NUMA node(s): 2 |
164 |
Model: 0 |
165 |
BogoMIPS: 200.00 |
166 |
L1d cache: 32K |
167 |
L1i cache: 78K |
168 |
L2 cache: 16384K |
169 |
NUMA node0 CPU(s): 0-47 |
170 |
NUMA node1 CPU(s): 48-95 |
171 |
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics |
172 |
|
173 |
/proc/cpuinfo: |
174 |
processor : 0-95 |
175 |
BogoMIPS : 200.00 |
176 |
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics |
177 |
CPU implementer : 0x43 |
178 |
CPU architecture: 8 |
179 |
CPU variant : 0x1 |
180 |
CPU part : 0x0a1 |
181 |
CPU revision : 0 |
182 |
|
183 |
## Cavium ThunderX2: |
184 |
More info at: https://en.wikichip.org/wiki/cavium/thunderx2 |
185 |
|
186 |
$ uname -m |
187 |
aarch64 |
188 |
|
189 |
$ ./hwcap-dump |
190 |
hwcap:00000000000019ff |
191 |
hwcap2:0000000000000000 |
192 |
|
193 |
$ lscpu |
194 |
Architecture: aarch64 |
195 |
Byte Order: Little Endian |
196 |
CPU(s): 256 |
197 |
On-line CPU(s) list: 0-255 |
198 |
Thread(s) per core: 4 |
199 |
Core(s) per socket: 32 |
200 |
Socket(s): 2 |
201 |
NUMA node(s): 2 |
202 |
Model: 1 |
203 |
BogoMIPS: 400.00 |
204 |
L1d cache: 32K |
205 |
L1i cache: 32K |
206 |
L2 cache: 256K |
207 |
L3 cache: 32768K |
208 |
NUMA node0 CPU(s): 0-127 |
209 |
NUMA node1 CPU(s): 128-255 |
210 |
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm |
211 |
|
212 |
/proc/cpuinfo: |
213 |
processor : 0-255 |
214 |
BogoMIPS : 400.00 |
215 |
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm |
216 |
CPU implementer : 0x43 |
217 |
CPU architecture: 8 |
218 |
CPU variant : 0x1 |
219 |
CPU part : 0x0af |
220 |
CPU revision : 1 |