From owner-freebsd-current@freebsd.org Fri Jan 12 16:59:46 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC637E70000 for ; Fri, 12 Jan 2018 16:59:46 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AA3A73784 for ; Fri, 12 Jan 2018 16:59:46 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (67-0-236-88.albq.qwest.net [67.0.236.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 6DD5E1928F3; Fri, 12 Jan 2018 08:54:42 +0000 (UTC) Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 To: Rainer Hurling , freebsd-current References: From: Sean Bruno Message-ID: Date: Fri, 12 Jan 2018 09:59:44 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b2204dL4EI1tE62nxZTMQQt4neysotUYY" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 16:59:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --b2204dL4EI1tE62nxZTMQQt4neysotUYY Content-Type: multipart/mixed; boundary="L3AVSkCm3WAYEwLetkjtVL04Sac3AzmT3"; protected-headers="v1" From: Sean Bruno To: Rainer Hurling , freebsd-current Message-ID: Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 References: In-Reply-To: --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 > Features2=3D0x802009 > AMD > Features=3D0xee500800 > AMD > Features2=3D0x37ff > 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--