From owner-svn-ports-all@freebsd.org Mon Apr 30 12:33:06 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 105D3FA9216; Mon, 30 Apr 2018 12:33:06 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A045C7187F; Mon, 30 Apr 2018 12:33:05 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B33B1343B; Mon, 30 Apr 2018 12:33:05 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3UCX5YL071087; Mon, 30 Apr 2018 12:33:05 GMT (envelope-from eugen@FreeBSD.org) Received: (from eugen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3UCX5cA071082; Mon, 30 Apr 2018 12:33:05 GMT (envelope-from eugen@FreeBSD.org) Message-Id: <201804301233.w3UCX5cA071082@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eugen set sender to eugen@FreeBSD.org using -f From: Eugene Grosbein Date: Mon, 30 Apr 2018 12:33:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468692 - in head/sysutils/cpupdate: . files X-SVN-Group: ports-head X-SVN-Commit-Author: eugen X-SVN-Commit-Paths: in head/sysutils/cpupdate: . files X-SVN-Commit-Revision: 468692 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 12:33:06 -0000 Author: eugen Date: Mon Apr 30 12:33:04 2018 New Revision: 468692 URL: https://svnweb.freebsd.org/changeset/ports/468692 Log: Minor updates to sysutils/cpupdate: - fix typo in cpupdate_ibrs_enable previously named cpupdate_irbs_enable; - catch up with upstream README.md update that does not state anymore that it is work in progress but mention it is for Intel only still; - catch up with platomav/CPUMicrocodes MCE DB r65 update for completeness despite it has only AMD updates comparing previous r64; - update pkg-message with note that suspend/resume sequence clears microcode update; - add new keyword "resume" to startup script to ease its invocation on resume by means of rcorder(8). PR: 227866 Reported by: Michael Danilov Modified: head/sysutils/cpupdate/Makefile head/sysutils/cpupdate/distinfo head/sysutils/cpupdate/files/cpupdate.in head/sysutils/cpupdate/files/pkg-message.in head/sysutils/cpupdate/pkg-descr Modified: head/sysutils/cpupdate/Makefile ============================================================================== --- head/sysutils/cpupdate/Makefile Mon Apr 30 12:30:53 2018 (r468691) +++ head/sysutils/cpupdate/Makefile Mon Apr 30 12:33:04 2018 (r468692) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= cpupdate -DISTVERSION= g20180323 -PORTREVISION= 1 +DISTVERSION= g20180324 CATEGORIES= sysutils MAINTAINER= eugen@FreeBSD.org @@ -23,13 +22,13 @@ SUB_LIST= CPM_DIR=${CPM_DIR} INTEL_DIR=${INTEL_DIR} USE_GITHUB= yes GH_ACCOUNT= kernschmelze GH_PROJECT= ${PORTNAME} -GH_TAGNAME= 7633a43 +GH_TAGNAME= 82ec0b6 PLIST_FILES= sbin/${PORTNAME} man/man8/${PORTNAME}.8.gz CPM_ACCOUNT= platomav CPM_PROJECT= CPUMicrocodes -CPM_TAGNAME= 079248c +CPM_TAGNAME= 869ad44 OPTIONS_DEFINE= CPM INTEL CPM_DESC= Download platomav/CPUMicrocodes collection Modified: head/sysutils/cpupdate/distinfo ============================================================================== --- head/sysutils/cpupdate/distinfo Mon Apr 30 12:30:53 2018 (r468691) +++ head/sysutils/cpupdate/distinfo Mon Apr 30 12:33:04 2018 (r468692) @@ -1,7 +1,7 @@ -TIMESTAMP = 1523034276 +TIMESTAMP = 1525090663 SHA256 (microcode-20180312.tgz) = 0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779 SIZE (microcode-20180312.tgz) = 3789662 -SHA256 (kernschmelze-cpupdate-g20180323-7633a43_GH0.tar.gz) = b6a595223b7e70fbdf170b51d6aee4d907b36e080c18d076b6a17ae16bd63d28 -SIZE (kernschmelze-cpupdate-g20180323-7633a43_GH0.tar.gz) = 4566592 -SHA256 (platomav-CPUMicrocodes-079248c_GH0.tar.gz) = 89c875f5467409af543b83abe069a00bc29a7933a64a30450a5b06ab0cfa0c7c -SIZE (platomav-CPUMicrocodes-079248c_GH0.tar.gz) = 4602296 +SHA256 (kernschmelze-cpupdate-g20180324-82ec0b6_GH0.tar.gz) = 653a64962077550eeb75c683e2ff23e1901846b89d64d34630c1b0693128e0fe +SIZE (kernschmelze-cpupdate-g20180324-82ec0b6_GH0.tar.gz) = 4566676 +SHA256 (platomav-CPUMicrocodes-869ad44_GH0.tar.gz) = d3f3446e5a82fc874faf72e68a5c617cb61e772c0c00b61983408d343859d245 +SIZE (platomav-CPUMicrocodes-869ad44_GH0.tar.gz) = 4602485 Modified: head/sysutils/cpupdate/files/cpupdate.in ============================================================================== --- head/sysutils/cpupdate/files/cpupdate.in Mon Apr 30 12:30:53 2018 (r468691) +++ head/sysutils/cpupdate/files/cpupdate.in Mon Apr 30 12:33:04 2018 (r468692) @@ -5,14 +5,14 @@ # PROVIDE: cpupdate # REQUIRE: FILESYSTEMS kldxref # BEFORE: netif -# KEYWORD: nojail +# KEYWORD: nojail resume # Add these lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # cpupdate_enable (bool): Set to NO by default. # Set it to YES to enable cpupdate. -# cpupdate_irbs_enable (bool): Enable Indirect Branch Restricted +# cpupdate_ibrs_enable (bool): Enable Indirect Branch Restricted # Speculation after start of cpupdate. # Default is YES. # cpupdate_flags (string): Command line flags for cpupdate. @@ -28,11 +28,11 @@ load_rc_config $name : ${cpupdate_enable:="NO"} : ${cpupdate_flags="-w -u"} -: ${cpupdate_irbs_enable="YES"} +: ${cpupdate_ibrs_enable="YES"} command=%%PREFIX%%/sbin/${name} cpupdate_poststart() { - checkyesno cpupdate_irbs_enable && sysctl -i hw.ibrs_disable=0 + checkyesno cpupdate_ibrs_enable && sysctl -i hw.ibrs_disable=0 return 0 } Modified: head/sysutils/cpupdate/files/pkg-message.in ============================================================================== --- head/sysutils/cpupdate/files/pkg-message.in Mon Apr 30 12:30:53 2018 (r468691) +++ head/sysutils/cpupdate/files/pkg-message.in Mon Apr 30 12:33:04 2018 (r468692) @@ -10,3 +10,6 @@ In this case you can run "make install-microcodes" to %%DATADIR%% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +Suspend/resume sequence clears microcode update, so make sure your system runs +"service cpupdate start" again on resume. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Modified: head/sysutils/cpupdate/pkg-descr ============================================================================== --- head/sysutils/cpupdate/pkg-descr Mon Apr 30 12:30:53 2018 (r468691) +++ head/sysutils/cpupdate/pkg-descr Mon Apr 30 12:33:04 2018 (r468692) @@ -1,6 +1,6 @@ x86 CPU microcode utility for BSD. -It is still work in progress but should do its job for Intel chips already. +At the moment, it is for Intel processors only. Note: update FreeBSD to OSVERSION level 1101507 for 11.x or 1200055 for 12.0+ before building/using this utility if your microcode update brings