On Wed, 2019-09-11 at 10:09 -0700, Georgy Yakovlev wrote: > On 9/10/19 12:44 PM, Michał Górny wrote: > > Hi, everyone. > > > > 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. > > > > If you have an ARM board and would like to help, please: > > > > 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 > > > > and send me the output along with 'uname -m'. TIA! > > > > couple of boards here > > > ========== rockpro64 > Rockchip RK3399 Hexa-Core (dual ARM Cortex A72 and quad ARM Cortex A53) > > $ uname -m > aarch64 > > $ ./hwcap-dump > hwcap:00000000000008ff > hwcap2:0000000000000000 This one's same as aws a1. > > ./cpuid2cpuflags > CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 > crc32 v4 v5 v6 v7 v8 thumb2 > > > 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 > > > 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 > > > > > > ========== Odroid N2 > Amlogic S922X (4x Cortex-A73 @ 1.8GHz, 2x Cortex-A53 @ 1.9GHz) > > $ uname -m > aarch64 > > $ ./hwcap-dump > hwcap:00000000000000ff > hwcap2:0000000000000000 > > CPU_FLAGS_ARM: edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 > crc32 v4 v5 v6 v7 v8 thumb2 Thanks, added. > > 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 > > CPU info : 290a400001200e000001313254524d50 > Serial : ..... > Hardware : Hardkernel ODROID-N2 > Revision : 0400 > > > 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 > > -- Best regards, Michał Górny