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 8FA32138330 for ; Tue, 9 Jan 2018 09:58:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EB70E09E2; Tue, 9 Jan 2018 09:58:25 +0000 (UTC) Received: from mail-ot0-x22d.google.com (mail-ot0-x22d.google.com [IPv6:2607:f8b0:4003:c0f::22d]) (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 25555E09AD for ; Tue, 9 Jan 2018 09:58:24 +0000 (UTC) Received: by mail-ot0-x22d.google.com with SMTP id p16so8231270otf.1 for ; Tue, 09 Jan 2018 01:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=sLiMEEzNV/Guw2fi8o1UBuL/aIDRNr1juRtroazsIdg=; b=P1De7EFc2yaZ/pUxND3zFliO97tRtH292n3qs7jnpd95eIz0U2o8+0BzLgpZKRwd8D uqsvLt54pKs20+ZXLyHhZMWTYWdTo+/jWcoSFWwFo52QWfYX/VH+BD6Ye0lf8Pqdb3V6 FNtpTH4f85dy61HZumx1QIYAxfCldcqdkPjtuWFCh/VfepRdiDxqtiipUwujLdY958Zw BOODOOU7Niv7tjUCSWwy2P5B4lYyiv4Psm20YHFCZd4ETmEjTyNOl0xB4Wk0hdnkAt+N 4Gm06MH3jfDGoxVgqF2hSisBUvMABIDYbo9h6HPCa0p78uh22wyy99jH9TV9rXOR55tf PP/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=sLiMEEzNV/Guw2fi8o1UBuL/aIDRNr1juRtroazsIdg=; b=PgSyHYqhQdEiuYmYYiam7Mtt0F0h64Fi5PJm3/LjgNY2CdjsoBfIeL0iCpXU2RJcxc JX8sXLGYS1kRsm5DSkjA2RUeQbu4eKYjtOiTX6tYGJFm15SjGiBjG7Hr9nXskid0Wtp4 y72EHWNucqTaj7xezrPzIVF8T760GPuEpEmmFC51h2WnXfYW/Fc9enxsRw5U5N06RNj6 mjsbs7Liy1iAkE1jRRI8w+YgiA7wbiIVHV6p1wk4wk0XkTiu9ImIwin9nYIEYtpEZS4e GsTYzbEQs+QLY9QqZ27HU2GAVro06W8aMCOkJSk3bda6q96jUdS3Daa5F1ASz00k7qRU tyEQ== X-Gm-Message-State: AKwxytcmVbkVuSY7SBbmH4ffRUTaxYEkMzbU1uSsSaXcXe3PLcjO18Vg 1ZfORNU/C2xr3oLVwMitoqT/ELgKEB6FwlQ4NpflytZF X-Google-Smtp-Source: ACJfBouqS0MCB0v5voiC1ASL4H067mXIm18VL1aLW2ZQw15HWkqMuJyNj+rx3Fg6TD7R3ToG/2xWNFW2HRCcOA5+5dQ= X-Received: by 10.157.68.84 with SMTP id f20mr8527155otj.401.1515491903968; Tue, 09 Jan 2018 01:58:23 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.157.19.65 with HTTP; Tue, 9 Jan 2018 01:58:23 -0800 (PST) In-Reply-To: References: <7043537.tTOGm0sStG@peak> <4924358.b5zofxho55@peak> From: Adam Carter Date: Tue, 9 Jan 2018 20:58:23 +1100 Message-ID: Subject: Re: [gentoo-user] microcode applied? To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="94eb2c061b40989f8c056254f41c" X-Archives-Salt: 6960eadb-b5ca-4054-a33a-06be9330ef36 X-Archives-Hash: 5b2a3585a82342526a158effdb23a774 --94eb2c061b40989f8c056254f41c Content-Type: text/plain; charset="UTF-8" > > Hopefully there's an equivalent for AMD. > Here's what I came up with. This is very hacky and unreliable, but get the CPUID with; cpuid -r | grep "0x00000001 0x00" | awk '{ print $3}' | uniq | cut -d x -f 3 then grab MCE (thanks Max for the suggestion) from https://github.com/platomav/MCExtractor unzip MCExtractor-master.zip cd MCExtractor-master chmod +x MCE.py dos2unix MCE.py ./MCE.py /lib/firmware/amd-ucode/*bin (at this stage it complained about missing dev-python/colorama and dev-python/prettytable, so i had to emerge them) Then press enter and it dumps out CPUID and version for each file. Other than case differences i found the CPUID for my fam10 AMD system. eg # cpuid -r | grep "0x00000001 0x00" | awk '{ print $3}' | uniq | cut -d x -f 3 00100f43 And in the MCE output; | 4 | 00100F43 | 010000C8 | 2010-03-11 | Latest | Dmesg had microcode: CPU0: patch_level=0x010000c8 So its confirmed its at the latest microcode, from 2010 --94eb2c061b40989f8c056254f41c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hopefully there's an equivalent for AMD.

Here's what I came up with. This is very hacky and unreli= able, but get the CPUID with;

cpuid -r | grep "0x00000001 0x00" | awk &= #39;{ print $3}' | uniq | cut -d x -f 3

then grab MCE (thanks Max for the sug= gestion) from https://g= ithub.com/platomav/MCExtractor
unzip MCExtractor-master.zip
cd MCExtractor-master
c= hmod +x MCE.py
dos2unix MCE.py
./MCE.py /lib/firmware/amd-ucode/*bin
(at this stage it complained about missing dev-python/co= lorama and dev-python/prettytable, so i had to emerge them)
Then press enter and it dumps out CPUID and version for ea= ch file.

Other than case differences i found the CPUID for my fam10 AMD syst= em. eg
# cpuid -r | grep "0x000000= 01 0x00" | awk '{ print $3}' | uniq | cut -d x -f 3
00100f4= 3

= And in the MCE output;
| 4=C2=A0 | 0010= 0F43 | 010000C8 | 2010-03-11 |=C2=A0 Latest=C2=A0 |

Dmesg had
microcode: CPU0: patch_level=3D0x010000c8

So its confirmed its at th= e latest microcode, from 2010



=

--94eb2c061b40989f8c056254f41c--