Gentoo Archives: gentoo-dev

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

Attachments

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