Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 11 Sep 2019 17:09:34
Message-Id: c1a5431f-1f65-b984-2c52-41da6a79889f@gentoo.org
In Reply to: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags by "Michał Górny"
1 On 9/10/19 12:44 PM, Michał Górny wrote:
2 > Hi, everyone.
3 >
4 > I've recently (finally!) started adding tests to cpuid2cpuflags. Tests
5 > are based on mocked syscalls that return arch-specific data read from
6 > text files. So far I've got x86 and ppc covered, and now I'd like to
7 > add tests for various arm hardware. Since ARM covers a pretty broad
8 > range of hardware, I'd use as much data as possible, especially from
9 > different ARM generations.
10 >
11 > If you have an ARM board and would like to help, please:
12 >
13 > wget https://dev.gentoo.org/~mgorny/dist/cpuid2cpuflags-7-dev.tar.bz2
14 > tar -xf cpuid2cpuflags-7-dev.tar.bz2
15 > cd cpuid2cpuflags-7-dev
16 > ./configure
17 > make hwcap-dump
18 > ./hwcap-dump
19 >
20 > and send me the output along with 'uname -m'. TIA!
21 >
22
23
24 couple of boards here
25
26
27 ========== rockpro64
28 Rockchip RK3399 Hexa-Core (dual ARM Cortex A72 and quad ARM Cortex A53)
29
30 $ uname -m
31 aarch64
32
33 $ ./hwcap-dump
34 hwcap:00000000000008ff
35 hwcap2:0000000000000000
36
37 ./cpuid2cpuflags
38 CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2
39 crc32 v4 v5 v6 v7 v8 thumb2
40
41
42 cpuinfo
43 processor : 0
44 BogoMIPS : 48.00
45 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
46 CPU implementer : 0x41
47 CPU architecture: 8
48 CPU variant : 0x0
49 CPU part : 0xd03
50 CPU revision : 4
51
52
53 diff -U0 <(./cpuid2cpuflags | tr ' ' '\n' | sed 1d |sort) <(grep -m1
54 Features /proc/cpuinfo | tr ' ' '\n' | sed 1d | grep '.' |sort)
55 --- /dev/fd/63 2019-09-11 09:57:36.360796732 -0700
56 +++ /dev/fd/62 2019-09-11 09:57:36.364130054 -0700
57 @@ -1,0 +2,2 @@
58 +asimd
59 +cpuid
60 @@ -3,2 +5,3 @@
61 -edsp
62 -neon
63 +evtstrm
64 +fp
65 +pmull
66 @@ -7,11 +9,0 @@
67 -thumb
68 -thumb2
69 -v4
70 -v5
71 -v6
72 -v7
73 -v8
74 -vfp
75 -vfp-d32
76 -vfpv3
77 -vfpv4
78
79
80
81
82
83 ========== Odroid N2
84 Amlogic S922X (4x Cortex-A73 @ 1.8GHz, 2x Cortex-A53 @ 1.9GHz)
85
86 $ uname -m
87 aarch64
88
89 $ ./hwcap-dump
90 hwcap:00000000000000ff
91 hwcap2:0000000000000000
92
93 CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2
94 crc32 v4 v5 v6 v7 v8 thumb2
95
96 cpuinfo
97 processor : 0
98 BogoMIPS : 48.00
99 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
100 CPU implementer : 0x41
101 CPU architecture: 8
102 CPU variant : 0x0
103 CPU part : 0xd03
104 CPU revision : 4
105
106 CPU info : 290a400001200e000001313254524d50
107 Serial : .....
108 Hardware : Hardkernel ODROID-N2
109 Revision : 0400
110
111
112 diff -U0 <(./cpuid2cpuflags | tr ' ' '\n' | sed 1d |sort) <(grep -m1
113 Features /proc/cpuinfo | tr ' ' '\n' | sed 1d | grep '.' |sort)
114 --- /dev/fd/63 2019-09-11 09:59:59.616633443 -0700
115 +++ /dev/fd/62 2019-09-11 09:59:59.616633443 -0700
116 @@ -1,0 +2 @@
117 +asimd
118 @@ -3,2 +4,3 @@
119 -edsp
120 -neon
121 +evtstrm
122 +fp
123 +pmull
124 @@ -7,11 +8,0 @@
125 -thumb
126 -thumb2
127 -v4
128 -v5
129 -v6
130 -v7
131 -v8
132 -vfp
133 -vfp-d32
134 -vfpv3
135 -vfpv4

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags "Michał Górny" <mgorny@g.o>