From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59467) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6FgJ-0006vp-R2 for guix-patches@gnu.org; Mon, 24 Feb 2020 10:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6FgI-0002qv-K7 for guix-patches@gnu.org; Mon, 24 Feb 2020 10:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6FgI-0002pL-Fu for guix-patches@gnu.org; Mon, 24 Feb 2020 10:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6FgI-0005VM-Bu for guix-patches@gnu.org; Mon, 24 Feb 2020 10:30:02 -0500 Subject: [bug#39762] [PATCH] gnu: cpuid: Update to 20200211. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:59398) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6Ffp-0006la-4A for guix-patches@gnu.org; Mon, 24 Feb 2020 10:29:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6Ffn-0002RW-NV for guix-patches@gnu.org; Mon, 24 Feb 2020 10:29:32 -0500 Received: from 74-93-236-146-colorado.hfc.comcastbusiness.net ([74.93.236.146]:58386 helo=toad.concurrent-rt.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j6Ffn-0002Od-Eq for guix-patches@gnu.org; Mon, 24 Feb 2020 10:29:31 -0500 Date: Mon, 24 Feb 2020 08:12:48 -0700 From: Todd Allen Message-ID: <20200224151248.GA27726@toad> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Todd Allen Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Vincent Legoll Cc: 39762@debbugs.gnu.org Vincent, Yes, often cpuid changes because of new features in the CPUID instruction, or because of new CPUs determinable by the (synth) and (uarch synth) "leaves". Sometimes it's because there was a feature I didn't know existed, like 0x2000000 leaves for Itanium. The ":" change to "=" in a couple cases was deliberate. It had been inconsistent before. Todd On Sun, Feb 23, 2020 at 11:54:38PM +0100, Vincent Legoll wrote: > Looks like it is still working in a guix VM running on AMD ryzen 3700X host. > > But there is some output differences between previous version and this one. > > in raw mode (cpuid -r), it outputs one more line per core: > > 0x20000000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000 > > which is probably OK, looks like the change: > Sun Feb 2 2020 Todd Allen > * cpuid.c: Added leaf walking of the 0x20000000 (Intel Phi) range > [...] > > But in normal mode, output changed a lot, some separators changed from ":" > to "=", a lot of reported values, new things... This will probably break > any simplistic parsing of that output, if there is anything doing that in > guix... > > Having a cursory look at the changelog, it looks like this is getting a lot > more change since the beginning of this year, or something else. > > Maybe Tood Allen can give us a hint... > > Guixers, please advise how to proceed further. > > Thanks-- > Vincent Legoll > From f15fe227325fe1744ecf58d6bfe513e6c97026fe Mon Sep 17 00:00:00 2001 > From: Vincent Legoll > Date: Sun, 23 Feb 2020 23:15:33 +0100 > Subject: [PATCH] gnu: cpuid: Update to 20200211. * gnu/packages/linux.scm > (cpuid): Update to 20200211. > > --- > gnu/packages/linux.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index f0fd2fb5df..3fdc716545 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -5626,14 +5626,14 @@ available in the kernel Linux.") > (define-public cpuid > (package > (name "cpuid") > - (version "20200116") > + (version "20200211") > (source (origin > (method url-fetch) > (uri (string-append "http://www.etallen.com/cpuid/cpuid-" > version ".src.tar.gz")) > (sha256 > (base32 > - "1gxi4iwy6j366l6bkj1yyxhrk1rxmwfp498gikfxn8xwhij9dn0a")))) > + "06sjbqqp80l7nhsp6khglkzdp9qy4vhbvjxbfilznhsmrqiwlw55")))) > (build-system gnu-build-system) > (arguments > '(#:make-flags '("CC=gcc") > -- > 2.25.1 >