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 C9327138334 for ; Wed, 25 Sep 2019 15:22:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AF54E0899; Wed, 25 Sep 2019 15:22:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B331EE0882 for ; Wed, 25 Sep 2019 15:22:35 +0000 (UTC) Received: from gentoo.org (unknown [IPv6:2001:1458:202:96::101:7295]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: amadio) by smtp.gentoo.org (Postfix) with ESMTPSA id A8AEF34B573; Wed, 25 Sep 2019 15:22:33 +0000 (UTC) Date: Wed, 25 Sep 2019 17:22:01 +0200 From: Guilherme Amadio To: gentoo-dev@lists.gentoo.org Cc: arm Subject: Re: [gentoo-dev] Need ARM/AArch64 test data for cpuid2cpuflags Message-ID: <20190925152200.GA769461@gentoo.org> References: 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-Archives-Salt: 462f0874-97a4-4ec7-92df-814e014b05c5 X-Archives-Hash: 83fbf41f5052d839a44d7fe2133fdcbf 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