guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#39762] [PATCH] gnu: cpuid: Update to 20200211.


From: Todd Allen
Subject: [bug#39762] [PATCH] gnu: cpuid: Update to 20200211.
Date: Mon, 24 Feb 2020 08:12:48 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

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 <address@hidden>
>         * 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 <address@hidden>
> 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
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]