Commit graph

54 commits

Author SHA1 Message Date
Sean Bruno
d6bd2a6473 sysutils/devcpu-data:
Capture last AMD 17h microcode update for 2018.

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/amd-ucode?id=8aa9e3e3886d49b8e1427c1084cbbe567ca2b6ca
2019-01-16 15:37:07 +00:00
Mark Johnston
8eb2352e21 sysutils/devcpu-data: Provide a file for loading Intel updates at boot
Extend the port so that users may easily apply microcode updates using
the method implemented in src r337715.  For now, this just consists of
providing all Intel microcode update files concatenated together as a
single blob in /boot/firmware.

Approved by:	sbruno
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D16924
2018-08-28 21:51:59 +00:00
Sunpoet Po-Chuan Hsieh
1962f6e7d5 Update MAINTAINER: use @FreeBSD.org 2018-08-18 20:42:46 +00:00
Sean Bruno
f0e874ec44 sysutils/devcpu-data:
- Update Intel CPU micRocode to 20180807 release.
https://downloadcenter.intel.com/download/28039/Linux-Processor-Microcode-Data-File?product=873

- pkg-plist shows that we have 5 new CPU microcode files.

- Binary diff of microcode files to previous release shows 24 microcode files
  have been updated.

Reported by:	kib
Sponsored by:	 Limelight Networks
2018-08-08 19:29:42 +00:00
Sean Bruno
df792b3012 sysutils/devcpu-data:
- Update Intel microcode to 0703 release.

-- intel-ucode-with-caveats/ --
This directory holds microcode that might need special handling.
BDX-ML microcode is provided in directory, because it need special commits in
the Linux kernel, otherwise, updating it might result in unexpected system
behavior.
OS vendors must ensure that the late loader patches (provided in
linux-kernel-patches\) are included in the distribution before packaging the
BDX-ML microcode for late-loading.

== 20180703 Release ==
-- Updates upon 20180425 release --
Processor             Identifier     Version       Products
Model        Stepping F-MO-S/PI      Old->New
---- updated platforms ------------------------------------
SNB-EP       C1       6-2d-6/6d 0000061c->0000061d Xeon E5
SNB-EP       C2       6-2d-7/6d 00000713->00000714 Xeon E5
IVT          C0       6-3e-4/ed 0000042c->0000042d Xeon E5 v2;
  Core i7-4960X/4930K/4820K
IVT          D1       6-3e-7/ed 00000713->00000714 Xeon E5 v2
HSX-E/EP/4S  C0       6-3f-2/6f 0000003c->0000003d Xeon E5 v3
HSX-EX       E0       6-3f-4/80 00000011->00000012 Xeon E7 v3
SKX-SP/D/W/X H0       6-55-4/b7 02000043->0200004d Xeon Bronze 31xx,
  Silver 41xx, Gold 51xx/61xx Platinum 81xx, D/W-21xx; Core i9-7xxxX
BDX-DE       A1       6-56-5/10 0e000009->0e00000a Xeon D-15x3N
---- intel-ucode-with-caveats/ ----------------------------
BDX-ML       B/M/R0   6-4f-1/ef 0b00002c->0b00002e Xeon E5/E7 v4; Core i7-69xx/68xx

Reviewed by:	swills
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D16209
2018-07-11 13:59:50 +00:00
Sean Bruno
94732c2282 sysutils/devcpu-data
- Update AMD microcode
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/amd-ucode?id=7518922bd5b98b137af7aaf3c836f5a498e91609
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/amd-ucode?id=77101513943ef198e2050667c87abf19e6cbb1d8

At least on my FX-8150, I can run spectre test code and it fails after
applying the 15h update.

I have not seen a system that needs the 17h update, and we think this
only covers EPYC processors, not Ryzen.

When I tested this on an EPYC at work, the tools detected that the 17h
microcode was correct but uneeded for the Dell system.

PR:		228567
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D15523
2018-05-28 17:08:35 +00:00
Sean Bruno
4d8118869a sysutils/devcpu-data:
-- updated to Intel Microcode release 0425
-- removed the BDX microcode
-- updated the GLK microcode
-- Modded files/Makefile to be more explicit on which files to process
   now that non-microcode files have appeared in the Intel microcode directory

-- intel-ucode-with-caveats/ --
This directory holds microcode that might need special handling.
BDX-ML microcode is provided in directory, because it need special commits in
the Linux kernel, otherwise, updating it might result in unexpected system
behavior.

OS vendors must ensure that the late loader patches (provided in
linux-kernel-patches\) are included in the distribution before packaging the
BDX-ML microcode for late-loading.

== 20180425 Release ==
-- Updates upon 20180312 release --
Processor             Identifier     Version       Products
Model        Stepping F-MO-S/PI      Old->New
---- updated platforms ------------------------------------
GLK          B0       6-7a-1/01 0000001e->00000022 Pentium Silver N/J5xxx, Celeron N/J4xxx
---- removed platforms ------------------------------------
BDX-ML       B/M/R0   6-4f-1/ef 0b000021           Xeon E5/E7 v4; Core i7-69xx/68xx

-- Special release with caveats --
BDX-ML       B/M/R0   6-4f-1/ef           0b00002c Xeon E5/E7 v4; Core i7-69xx/68xx

Sponsored by:	Limelight Networks
2018-05-22 15:09:38 +00:00
Sean Bruno
99a3ef5325 sysutils/devcpu-data
- Use new tool committed by Ed Maste of the FreeBSD Foundation to process
  Intel microcode files into a format cpucontrol can process.
- Assume maintainer role for the time being. (approved by portmgr)

Reviewed by:	delphij emaste
Approved by:	portmgr (rene)
Security:	yes
Sponsored by:	Limelight Networks and The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D15443
2018-05-18 01:28:23 +00:00
Sean Bruno
c539072aab sysutils/devcpu-data
Update to Intel microcode release 20180312:

== Updates upon 20171117 release ==
MODEL STEP f-mm-s:pf version
-- New Platforms --
BDX-DE EGW A0 6-56-5:10 e000009
SKX B1 6-55-3:97 1000140
-- Updates --
SNB D2 6-2a-7:12 29->2d
JKT C1 6-2d-6:6d 619->61c
JKT C2 6-2d-7:6d 710->713
IVB E2 6-3a-9:12 1c->1f
IVT C0 6-3e-4:ed 428->42c
IVT D1 6-3e-7:ed 70d->713
HSW Cx/Dx 6-3c-3:32 22->24
HSW-ULT Cx/Dx 6-45-1:72 20->23
CRW Cx 6-46-1:32 17->19
HSX C0 6-3f-2:6f 3a->3c
HSX-EX E0 6-3f-4:80 0f->11
BDW-U/Y E/F 6-3d-4:c0 25->2a
BDW-H E/G 6-47-1:22 17->1d
BDX-DE V0/V1 6-56-2:10 0f->15
BDW-DE V2 6-56-3:10 700000d->7000012
BDW-DE Y0 6-56-4:10 f00000a->f000011
SKL-U/Y D0 6-4e-3:c0 ba->c2
SKL R0 6-5e-3:36 ba->c2
KBL-U/Y H0 6-8e-9:c0 62->84
KBL B0 6-9e-9:2a 5e->84
CFL D0 6-8e-a:c0 70->84
CFL U0 6-9e-a:22 70->84
CFL B0 6-9e-b:02 72->84
SKX H0 6-55-4:b7 2000035->2000043

Reviewed by:	swills imp
MFH:		2018Q1
Security:	yes
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D14686
2018-03-14 15:33:34 +00:00
Sean Bruno
3b6e10de50 sysutils/devcpu-data: Revert back to legacy microcode.dat implementation.
Either there is a problem with the Intel supplied microcode files or
cpucontrol does not yet understand how to process a micrcode update file
with multiple entries. For now, abort.

Reviewed by:	swills
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13987
2018-01-19 19:28:08 +00:00
Sean Bruno
f4323069fb sysutils/devcpu-data: Migrate our microcode update on Intel to use precreated files.
Intel provides prefabricated per-cpu microcode update files.  We no longer need
a tool to extract them from the legacy microcode.dat store.  This matches
what upstream linux distributions are doing now.  Tested on my Intel machines
here and updates still succeed.

Reviewed by:	swills cem
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13921
2018-01-17 16:04:27 +00:00
Sean Bruno
d50550ca79 Revert Intel URL to the correct location for microcode-20171117.tgz
PR:		225224
Reported by:	Gary <freebsd-bugzilla@in-addr.com>
Sponsored by:	Limelight Networks
2018-01-16 19:56:34 +00:00
Steve Wills
d8914ff762 sysutils/devcpu-data: fix rc script
PR:		225173
Reviewed by:	sbruno
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-15 17:05:37 +00:00
Sean Bruno
b99fad7e44 sysutils/devcpu-data: Only run "cpucontrol -e" once.
Submitted by:	kib
Sponsored by:	Limelight Networks
2018-01-14 18:27:46 +00:00
Sean Bruno
094e28c74e sysutils/devcpu-data: Update AMD microcode, add cpu 17h microcode,
drop malfunctioning individual "AMD-XXX" files.

On the few machines that actually have microcode updates, chopping up the
microcode is incorrect and results in a failure to update.  Don't do that.

I personally run this on my FX-8150 and this has been tested by a few others.

Sponsored by:	 Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13832
2018-01-13 21:35:44 +00:00
Sean Bruno
347826652f Revert to previous Intel microcode archive (20171117).
FreeBSD kernel changes to make use of the capabilities provided by the
new microcode update have not yet been committed. Since we do not yet
require them, allow more time for validation.

Approved by:	emaste
Sponsored by:	Limelight Networks
2018-01-11 20:45:24 +00:00
Sean Bruno
1f03396b1b sysutils/devcpu-data follow up commit to 20180108 Intel microcode update.
Run cpucontrol -e after microcode update to refresh cpu flags.  If running
on an older system without -e, fail silently.

Log any upgrade output via logger to /var/log/messages.

Add an instructional pkg-message for users.

Intel Release Notes:
Intel Processor Microcode Package for Linux
20180108 Release

-- Updates upon 20171117 release --
IVT C0          (06-3e-04:ed) 428->42a
SKL-U/Y D0      (06-4e-03:c0) ba->c2
BDW-U/Y E/F     (06-3d-04:c0) 25->28
HSW-ULT Cx/Dx   (06-45-01:72) 20->21
Crystalwell Cx  (06-46-01:32) 17->18
BDW-H E/G       (06-47-01:22) 17->1b
HSX-EX E0       (06-3f-04:80) 0f->10
SKL-H/S R0      (06-5e-03:36) ba->c2
HSW Cx/Dx       (06-3c-03:32) 22->23
HSX C0          (06-3f-02:6f) 3a->3b
BDX-DE V0/V1    (06-56-02:10) 0f->14
BDX-DE V2       (06-56-03:10) 700000d->7000011
KBL-U/Y H0      (06-8e-09:c0) 62->80
KBL Y0 / CFL D0 (06-8e-0a:c0) 70->80
KBL-H/S B0      (06-9e-09:2a) 5e->80
CFL U0          (06-9e-0a:22) 70->80
CFL B0          (06-9e-0b:02) 72->80
SKX H0          (06-55-04:b7) 2000035->200003c
GLK B0          (06-7a-01:01) 1e->22

Reviewed by:	A bunch of folks on the review
MFH:		2018Q1
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13815
2018-01-10 17:32:14 +00:00
Baptiste Daroussin
38ff21f95b Update Intel microcode to 20180108
MFH:		2018Q1
Sponsored by:	Gandi.net
2018-01-10 10:04:25 +00:00
Sean Bruno
b62927e66f sysutils/devcpu-data Unbreak build by using a cached distfile for amd microcode.
Use a freebsd.org hosted version of the amd microcode file fetched
in February of 2015. The amd64.org site has been down for a long time and
probably will never come back.

Reported by:	netchild
Reviewed by:	mat antoine
Approved by:	portmgr (mat@ antoin@)
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13792
2018-01-07 18:13:50 +00:00
Sean Bruno
0045c0c71f sysutils/devcpu-data with Intel microcode update 20171117.
PR:	224901
Approved by:	portmgr@ (antoine)
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13771
2018-01-05 20:37:57 +00:00
Thomas Zander
8bc944ed45 Allow custom cpucontrol(8) flags
PR:		222697
Submitted by:	kib
Approved by:	maintainer timeout
2017-10-16 16:37:56 +00:00
Steve Wills
c8ccd1a5cc sysutils/devcpu-data: remove duplicate line
Reported by:	lightside@gmx.com (via IRC)
Pointyhat to:	swills
2017-09-19 13:23:57 +00:00
Steve Wills
65ab715fb8 sysutils/devcpu-data: Update to July 17 microcode update
PR:		221246
Submitted by:	Mark Knight <markk@knigma.org>
Reviewed by:	clarkjc@runbox.com (maintainer timeout, >2 weeks)
2017-09-17 18:11:36 +00:00
Sunpoet Po-Chuan Hsieh
cc04417c3f Update Intel microcode to 2017-05-11
- Update MASTER_SITES: use https:// for Intel
- While I'm here, add NO_ARCH

PR:		219268
Submitted by:	grarpamp <grarpamp@gmail.com>
Approved by:	John Clark <clarkjc@runbox.com> (maintainer)
2017-05-29 15:28:46 +00:00
Jan Beich
173c785417 sysutils/devcpu-data: update to 1.9 (Intel 2016-11-04)
- Accept LICENSE since it allows mirroring [1]

PR:		215104
Approved by:	John Clark <clarkjc@runbox.com> (maintainer)
Submitted by:	John Clark <clarkjc@runbox.com> [1]
2016-12-19 23:16:32 +00:00
Thomas Zander
9aed1f90c3 Update Intel microcode to 2016-07-14
PR:		212563
Submitted by:	jbeich
Approved by:	maintainer timeout
2016-09-17 16:36:41 +00:00
Martin Wilke
3e7ec8eefe - Update to 1.6
PR:		204689
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	D4649
2015-12-22 10:20:02 +00:00
Sunpoet Po-Chuan Hsieh
3eddb1dcc6 - Update AMD microcode to 2014-12-01
- Bump PORTVERSION to 1.5
- While I'm here, use versioned AMD microcode archive

PR:		198371
Submitted by:	John Clark <clarkjc@runbox.com> (maintainer)
2015-03-06 22:37:04 +00:00
Steve Wills
e434905240 sysutils/devcpu-data: update to the intel blob 20150125
PR:		197684
Submitted by:	John Clark <clarkjc@runbox.com> (maintainer)
2015-02-28 19:16:34 +00:00
Antoine Brodin
23b328aaf9 Cleanup plist 2014-11-22 09:13:35 +00:00
Thomas Zander
87e0812421 - Update Intel microcode to 20140913
- Update PORTVERSION to 1.3

PR:		193764
Submitted by:	clarkjc@runbox.com (maintainer)
2014-09-20 15:05:11 +00:00
Sunpoet Po-Chuan Hsieh
3ce7a5b404 - Remove contiguous blank lines 2014-08-16 15:14:16 +00:00
Tilman Keskinoz
1aa4f0f27f Update intel microcode to 20140624
PR:		191411
Submitted by:	Lawrence Chen
Approved by:	maintainer
2014-07-02 14:11:45 +00:00
William Grzybowski
2ff4b65cc9 sysutils/devcpu-data: fix pkg-plist
Reported by:	jenkins
2014-06-15 22:50:09 +00:00
William Grzybowski
9497c8b3c3 sysutils/devcpu-data: update to 1.1
PR:		190712
Submitted by:	Lawrence Chen
Approved by:	maintainer
2014-06-15 21:29:38 +00:00
Baptiste Daroussin
24254258f9 Add forgotten files
Reported by:	many
2014-06-04 20:18:55 +00:00
Baptiste Daroussin
0acdedf20e Rework to fetch the manufacturers release bundle
Pass maintainership to submitter

PR:		179499
Submitted by:	clarkjc@runbox.com
2014-06-04 16:45:36 +00:00
Martin Wilke
a51dd1086f - use_bzip2 -> USES 2014-06-04 14:01:35 +00:00
Sunpoet Po-Chuan Hsieh
d4dc1b4d54 - Restore DATADIR: it saves microcode_update_datadir from STAGEDIR pollution [1]
- Bump PORTREVISION for package change

Reported by:	stage-qa: [1]
2013-11-11 20:34:38 +00:00
Vanilla I. Shu
5ea91c191b Support STAGEDIR. 2013-11-09 03:12:42 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Eitan Adler
dbee873e6c Drop support for old versions 2013-03-22 05:14:26 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
95cb846a77 - Remove emtpy files
Feature safe:	yes
2011-11-24 15:35:21 +00:00
Eitan Adler
f1988afcea - update to 0.6
- Switch to using a dynamic plist

PR:		162348
Submitted by:	Stanislav Sedov <stas@orion.SpringDaemons.com> (maintainer)
Approved by:	bapt (mentor)
2011-11-09 16:27:43 +00:00
Stanislav Sedov
422bce3414 - Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
2011-10-24 03:33:20 +00:00
Stanislav Sedov
615babecab - Fix plist.
Reported by:	pav
2011-01-10 08:06:58 +00:00
Stanislav Sedov
02959738d1 - Add new intel microcodes.
- Remove MD5 checksum.
2011-01-06 07:58:38 +00:00
Stanislav Sedov
b5dfdcc094 - Install microcode files to default cpuctl directory on FreeBSD versions
with cpuctl(4) driver instead of devcpu default directory.

Spotted by:	avg
2009-10-15 09:57:09 +00:00
Stanislav Sedov
6a19b1b8d8 - Add forgotten rcNG file. 2009-08-16 17:23:58 +00:00