public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 11 Sep 2019 19:33:06 +0200	[thread overview]
Message-ID: <b402e327359a40100b9bb809baa33158917766ec.camel@gentoo.org> (raw)
In-Reply-To: <c1a5431f-1f65-b984-2c52-41da6a79889f@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 3182 bytes --]

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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

  reply	other threads:[~2019-09-11 17:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-10 20:44 [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags Michał Górny
2019-09-11  5:24 ` Michał Górny
2019-09-11  6:42   ` Nick Howell
2019-09-11  6:52     ` Michał Górny
2019-09-12 11:29   ` Rolf Eike Beer
2019-09-12 13:38     ` Michał Górny
2019-09-13  3:17   ` A Schenck
2019-09-13  5:03     ` Michał Górny
2019-09-11 17:09 ` Georgy Yakovlev
2019-09-11 17:33   ` Michał Górny [this message]
2019-09-11 18:02 ` Matt Turner
2019-09-11 18:15   ` Michał Górny
2019-09-11 20:19 ` James Le Cuirot
2019-09-11 20:37   ` Michał Górny
2019-09-12 13:13 ` James Cloos
2019-09-12 13:47   ` Michał Górny
2019-09-17 20:56 ` Michał Górny
2019-09-18 12:56   ` Alfredo Tupone
2019-09-25 15:22 ` Guilherme Amadio
2019-09-25 16:03   ` Michał Górny
2019-10-01 11:48 ` Roy Bamford
2019-10-02 15:30 ` Piotr Szymaniak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b402e327359a40100b9bb809baa33158917766ec.camel@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox