Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 09:59:44 -0700
From:      Sean Bruno <sbruno@freebsd.org>
To:        Rainer Hurling <rhurlin@gwdg.de>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832
Message-ID:  <bf543ecc-b0e4-6e47-057e-3f41bb89f687@freebsd.org>
In-Reply-To: <dc85c41d-2987-ac93-1e01-cf9fec833703@gwdg.de>
References:  <dc163730-5995-3c71-92d7-a926f0da6806@freebsd.org> <dc85c41d-2987-ac93-1e01-cf9fec833703@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--b2204dL4EI1tE62nxZTMQQt4neysotUYY
Content-Type: multipart/mixed; boundary="L3AVSkCm3WAYEwLetkjtVL04Sac3AzmT3";
 protected-headers="v1"
From: Sean Bruno <sbruno@freebsd.org>
To: Rainer Hurling <rhurlin@gwdg.de>,
 freebsd-current <freebsd-current@freebsd.org>
Message-ID: <bf543ecc-b0e4-6e47-057e-3f41bb89f687@freebsd.org>
Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832
References: <dc163730-5995-3c71-92d7-a926f0da6806@freebsd.org>
 <dc85c41d-2987-ac93-1e01-cf9fec833703@gwdg.de>
In-Reply-To: <dc85c41d-2987-ac93-1e01-cf9fec833703@gwdg.de>

--L3AVSkCm3WAYEwLetkjtVL04Sac3AzmT3
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable



On 01/12/18 04:49, Rainer Hurling wrote:
> Am 12.01.2018 um 00:03 schrieb Sean Bruno:
>> https://reviews.freebsd.org/D13832  <--- test this update
>>
>> I'd like to get some feedback from AMD cpu users on this update.  I've=

>> restructured and undone a few things that may have been keeping folks
>> using this port from getting their runtime cpu microcode updates.
>>
>> After installing the port, grab your microcode version via
>> sysutils/x86info.  If you don't see an update, that only means there i=
s
>> no update available for your system.
>>
>> x86info -a | grep Microcode
>>
>> Run the microcode_update and repeat.  Check /var/log/messages for a
>> notification that the code was updated.  You should be able to get
>> something like the following for your system if it executed an update:=

>>
>> root@lab:/home/sbruno # x86info -a | grep "CPU Model"
>> CPU Model (x86info's best guess): AMD FX Series Processor (OR-B2)
>>
>> root@lab:/home/sbruno # x86info -a | grep Microcode
>> Microcode patch level: 0x6000629
>>
>> root@lab:/home/sbruno # /usr/local/etc/rc.d/microcode_update onestart
>> Updating CPU Microcode...
>> Done.
>>
>> root@lab:/home/sbruno # x86info -a | grep Microcode
>> Microcode patch level: 0x600063d
>>
>> root@lab:/home/sbruno # grep microcode_update /var/log/messages
>> Jan 10 16:52:26 lab microcode_update:
>> /usr/local/share/cpucontrol/microcode_amd_fam15h.bin: updating cpu
>> /dev/cpuctl0 to revision 0x600063d... done.
>>
>=20
> Just for the record, for an older Phenom with dmesg:
>=20
> CPU: AMD Phenom(tm) II X6 1090T Processor (3214.31-MHz K8-class CPU)
>   Origin=3D"AuthenticAMD"  Id=3D0x100fa0  Family=3D0x10  Model=3D0xa  S=
tepping=3D0
> Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=3D0x802009<SSE3,MON,CX16,POPCNT>
>   AMD
> Features=3D0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3=
DNow!>
>   AMD
> Features2=3D0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW=
,IBS,SKINIT,WDT>
>   SVM: NP,NRIP,NAsids=3D64
>   TSC: P-state invariant, performance statistics
>=20
>=20
> #x86info -a | grep "CPU Model"
> CPU Model (x86info's best guess): Phenom/Athlon/Sempron/Turion
> (II)/Opteron (PH-E0)
>=20
> #x86info -a | grep Microcode
> Microcode patch level: 0x10000bf
>=20
> #/usr/local/etc/rc.d/microcode_update onestart
> Updating CPU Microcode...
> Done.
>=20
> #x86info -a | grep Microcode
> Microcode patch level: 0x10000bf
>=20
> #grep microcode_update /var/log/messages
> ---
>=20
> So no recent update and no log messages, as expected ;)
>=20
> Regards,
> Rainer Hurling
>=20


Thank you!

sean


--L3AVSkCm3WAYEwLetkjtVL04Sac3AzmT3--

--b2204dL4EI1tE62nxZTMQQt4neysotUYY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlpY6YBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LaaNQf8DLzajcjMM7i7BlAveTQ5QWaLbTe7aHwORf2eJleIW7swodXQ4V3AKelh
Ympdx8dNY9TbPZ74CBjaniu18rzpGMQResvBUiEb45iQGP3WLjrkYq+t0a5DD2mR
QBZZQEmHWnkp45i7VA+CQt9wehdT4qW9yq+uv18mBANHhymVdOWi4+DoAAaqupWO
6R5lkJbt1hQHRT4jsGKKtnDsBqf5SeLTlJ8HJ6vJIuk3FS/F0J/MLiqzO/KB7lxi
vpI1FA4u+/wM+uVlHQp55aa9mZnCPC/brQ/P5malKKpuTRLGTK8p0TUuf6oI/1E1
QYl+bp/giWcdEEqXT1mgizEU+e565A==
=31zV
-----END PGP SIGNATURE-----

--b2204dL4EI1tE62nxZTMQQt4neysotUYY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf543ecc-b0e4-6e47-057e-3f41bb89f687>