public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Guilherme Amadio <amadio@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: arm <arm@gentoo.org>
Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags
Date: Wed, 25 Sep 2019 17:22:01 +0200	[thread overview]
Message-ID: <20190925152200.GA769461@gentoo.org> (raw)
In-Reply-To: <d81cfd14e617804383aea4bf2cca80278e1d6980.camel@gentoo.org>

Hi Michał,

On Tue, Sep 10, 2019 at 10:44:54PM +0200, 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!

Sorry for the late reply, I was on vacations in the last couple of
weeks. Here is some data on hardware not yet submitted:

## Raspberry Pi Zero W:
More info at: https://www.raspberrypi.org/products/raspberry-pi-zero-w

$ uname -m
armv6l

$ ./hwcap-dump
hwcap:00000000000081d6
hwcap2:0000000000000000

$ lscpu
Architecture:        armv6l
Byte Order:          Little Endian
CPU(s):              1
On-line CPU(s) list: 0
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           1
Vendor ID:           ARM
Model:               7
Model name:          ARM1176
Stepping:            r0p7
CPU max MHz:         1000.0000
CPU min MHz:         700.0000
BogoMIPS:            697.95
Flags:               half thumb fastmult vfp edsp java tls

/proc/cpuinfo:
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 997.08
Features	: half thumb fastmult vfp edsp java tls
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 9000c1
Serial		: 0000000081342439

## Raspberry Pi 4 Model B:
More info at: https://www.raspberrypi.org/products/raspberry-pi-4-model-b

$ uname -m
armv7l

$ ./hwcap-dump
hwcap:00000000003fb0d6
hwcap2:0000000000000010

$ lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500.0000
CPU min MHz:         600.0000
BogoMIPS:            270.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

/proc/cpuinfo
processor	: 0-3
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 270.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

Hardware	: BCM2835
Revision	: c03111
Serial		: 00000000299a8a34

## HP Moonshot XGene 1:
More info at: https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c04500662

$ uname -m
aarch64

$ ./hwcap-dump
hwcap:0000000000000007
hwcap2:0000000000000000

$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    8
Socket(s):             1
NUMA node(s):          1
Model:                 1
BogoMIPS:              100.00
NUMA node0 CPU(s):     0-7
Flags:                 fp asimd evtstrm

/proc/cpuinfo:
processor	: 0-7
BogoMIPS	: 100.00
Features	: fp asimd evtstrm
CPU implementer	: 0x50
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0x000
CPU revision	: 1

## Cavium ThunderX:
More info at: https://en.wikichip.org/wiki/cavium/thunderx

$ uname -m
aarch64

$ ./hwcap-dump
hwcap:00000000000001ff
hwcap2:0000000000000000

$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                96
On-line CPU(s) list:   0-95
Thread(s) per core:    1
Core(s) per socket:    48
Socket(s):             2
NUMA node(s):          2
Model:                 0
BogoMIPS:              200.00
L1d cache:             32K
L1i cache:             78K
L2 cache:              16384K
NUMA node0 CPU(s):     0-47
NUMA node1 CPU(s):     48-95
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics

/proc/cpuinfo:
processor	: 0-95
BogoMIPS	: 200.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics
CPU implementer	: 0x43
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0x0a1
CPU revision	: 0

## Cavium ThunderX2:
More info at: https://en.wikichip.org/wiki/cavium/thunderx2

$ uname -m
aarch64

$ ./hwcap-dump
hwcap:00000000000019ff
hwcap2:0000000000000000

$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                256
On-line CPU(s) list:   0-255
Thread(s) per core:    4
Core(s) per socket:    32
Socket(s):             2
NUMA node(s):          2
Model:                 1
BogoMIPS:              400.00
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              32768K
NUMA node0 CPU(s):     0-127
NUMA node1 CPU(s):     128-255
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm

/proc/cpuinfo:
processor	: 0-255
BogoMIPS	: 400.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
CPU implementer	: 0x43
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0x0af
CPU revision	: 1


  parent reply	other threads:[~2019-09-25 15:22 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
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 [this message]
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=20190925152200.GA769461@gentoo.org \
    --to=amadio@gentoo.org \
    --cc=arm@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