From owner-freebsd-current@freebsd.org Fri Jan 12 11:49:33 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 61ACFEB2347 for ; Fri, 12 Jan 2018 11:49:33 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (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 25EF91ABE; Fri, 12 Jan 2018 11:49:32 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from um-excht-a01.um.gwdg.de ([134.76.11.221] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1eZxps-0000Eh-Am; Fri, 12 Jan 2018 12:49:24 +0100 Received: from UM-EXCHT-A02.um.gwdg.de (134.76.9.211) by um-excht-a01.um.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 12 Jan 2018 12:49:24 +0100 Received: from krabat.raven.hur (91.8.148.12) by email.gwdg.de (134.76.9.211) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 12 Jan 2018 12:49:23 +0100 Subject: Re: [CFT] AMD cpu microcode update port sysutils/devcpu-data D13832 To: Sean Bruno , freebsd-current References: From: Rainer Hurling Message-ID: Date: Fri, 12 Jan 2018 12:49:15 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav 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 11:49:33 -0000 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 is > 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. > Just for the record, for an older Phenom with dmesg: CPU: AMD Phenom(tm) II X6 1090T Processor (3214.31-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x100fa0 Family=0x10 Model=0xa Stepping=0 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff SVM: NP,NRIP,NAsids=64 TSC: P-state invariant, performance statistics #x86info -a | grep "CPU Model" CPU Model (x86info's best guess): Phenom/Athlon/Sempron/Turion (II)/Opteron (PH-E0) #x86info -a | grep Microcode Microcode patch level: 0x10000bf #/usr/local/etc/rc.d/microcode_update onestart Updating CPU Microcode... Done. #x86info -a | grep Microcode Microcode patch level: 0x10000bf #grep microcode_update /var/log/messages --- So no recent update and no log messages, as expected ;) Regards, Rainer Hurling