From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E606138334 for ; Wed, 11 Sep 2019 17:33:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BFC3E09B1; Wed, 11 Sep 2019 17:33:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6E5DE097C for ; Wed, 11 Sep 2019 17:33:12 +0000 (UTC) Received: from pomiot (c134-66.icpnet.pl [85.221.134.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 2F43C34B0C0; Wed, 11 Sep 2019 17:33:11 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Wed, 11 Sep 2019 19:33:06 +0200 In-Reply-To: References: Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-hu+F8stDnnT7m3ByGwQR" User-Agent: Evolution 3.32.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 5c32d8f9-712c-4632-ae8e-004870b76cfd X-Archives-Hash: d1f828c8b010f4ec2b9886009ac9472b --=-hu+F8stDnnT7m3ByGwQR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2019-09-11 at 10:09 -0700, Georgy Yakovlev wrote: > On 9/10/19 12:44 PM, Micha=C5=82 G=C3=B3rny wrote: > > Hi, everyone. > >=20 > > I've recently (finally!) started adding tests to cpuid2cpuflags. Tests > > are based on mocked syscalls that return arch-specific data read from > > text files. So far I've got x86 and ppc covered, and now I'd like to > > add tests for various arm hardware. Since ARM covers a pretty broad > > range of hardware, I'd use as much data as possible, especially from > > different ARM generations. > >=20 > > If you have an ARM board and would like to help, please: > >=20 > > wget https://dev.gentoo.org/~mgorny/dist/cpuid2cpuflags-7-dev.tar.bz2 > > tar -xf cpuid2cpuflags-7-dev.tar.bz2 > > cd cpuid2cpuflags-7-dev > > ./configure > > make hwcap-dump > > ./hwcap-dump > >=20 > > and send me the output along with 'uname -m'. TIA! > >=20 >=20 > couple of boards here >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rockpro64 > Rockchip RK3399 Hexa-Core (dual ARM Cortex A72 and quad ARM Cortex A53) >=20 > $ uname -m > aarch64 >=20 > $ ./hwcap-dump > hwcap:00000000000008ff > hwcap2:0000000000000000 This one's same as aws a1. >=20 > ./cpuid2cpuflags > CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 > crc32 v4 v5 v6 v7 v8 thumb2 >=20 >=20 > cpuinfo > processor : 0 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid > CPU implementer : 0x41 > CPU architecture: 8 > CPU variant : 0x0 > CPU part : 0xd03 > CPU revision : 4 >=20 >=20 > diff -U0 <(./cpuid2cpuflags | tr ' ' '\n' | sed 1d |sort) <(grep -m1 > Features /proc/cpuinfo | tr ' ' '\n' | sed 1d | grep '.' |sort) > --- /dev/fd/63 2019-09-11 09:57:36.360796732 -0700 > +++ /dev/fd/62 2019-09-11 09:57:36.364130054 -0700 > @@ -1,0 +2,2 @@ > +asimd > +cpuid > @@ -3,2 +5,3 @@ > -edsp > -neon > +evtstrm > +fp > +pmull > @@ -7,11 +9,0 @@ > -thumb > -thumb2 > -v4 > -v5 > -v6 > -v7 > -v8 > -vfp > -vfp-d32 > -vfpv3 > -vfpv4 >=20 >=20 >=20 >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Odroid N2 > Amlogic S922X (4x Cortex-A73 @ 1.8GHz, 2x Cortex-A53 @ 1.9GHz) >=20 > $ uname -m > aarch64 >=20 > $ ./hwcap-dump > hwcap:00000000000000ff > hwcap2:0000000000000000 >=20 > CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 > crc32 v4 v5 v6 v7 v8 thumb2 Thanks, added. >=20 > cpuinfo > processor : 0 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 > CPU implementer : 0x41 > CPU architecture: 8 > CPU variant : 0x0 > CPU part : 0xd03 > CPU revision : 4 >=20 > CPU info : 290a400001200e000001313254524d50 > Serial : ..... > Hardware : Hardkernel ODROID-N2 > Revision : 0400 >=20 >=20 > diff -U0 <(./cpuid2cpuflags | tr ' ' '\n' | sed 1d |sort) <(grep -m1 > Features /proc/cpuinfo | tr ' ' '\n' | sed 1d | grep '.' |sort) > --- /dev/fd/63 2019-09-11 09:59:59.616633443 -0700 > +++ /dev/fd/62 2019-09-11 09:59:59.616633443 -0700 > @@ -1,0 +2 @@ > +asimd > @@ -3,2 +4,3 @@ > -edsp > -neon > +evtstrm > +fp > +pmull > @@ -7,11 +8,0 @@ > -thumb > -thumb2 > -v4 > -v5 > -v6 > -v7 > -v8 > -vfp > -vfp-d32 > -vfpv3 > -vfpv4 >=20 >=20 --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-hu+F8stDnnT7m3ByGwQR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl15L9NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA5Gvwf/WrKIs2e561k6MoPc3Bi1LrLRMi+HmMstViurTteOcSkN8TIUy0pNyn8h oVIduMYmfmxaY5yuL5SQitqJxVbq3YhHPPTJ6D/okLyg60R9i3p2P9bgFcChjaa0 QVW4onrEutq6VGiZTZuskJYYHy3IcaaSkmEl474yys/vcZ12I3350prkjL3Om9Xy 2ox0YHEl6rjasj1s8oaIZCY+Dula21PxPhgmJQNLEAWMxnEUh4oB9zjgtlKZQheI DiEqxqk9j6nl7VOjcIl2bsp/XLsOubHKOOip6VoRw7ALQQxrrcskfWcv9BWBIgwh JwhyNYcaCRMkGWI8ZJN8kfxawbQa9Q== =hn/x -----END PGP SIGNATURE----- --=-hu+F8stDnnT7m3ByGwQR--