An RC script for one of two methods to update CPU microcode.
Early loading, which does not require this RC script, is usually the preferred
method because updates are applied before the kernel performs CPU feature
detection. The other method, which requires this RC script, is late loading.
AMD systems running FreeBSD prior to 2024-02-22 snapshot 34467bd76 only support
late loading.
CPU microcode data can be installed from one of the sysutils/cpu-microcode-*
ports.
sysutils/cpu-microcode-rc: Update pkg-descr and pkg-message
- Note that the early loading is now available for AMD systems after
2024-02-22 src snapshot, 34467bd76.
- Do not refer to old port names
- Refer to sysutils/cpu-microcode-* so we are covered if any new CPU
microcode ports are added to the tree
Reviewed by: chs
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44048
sysutils/cpu-microcode*: support early loading of AMD ucode
Install the AMD ucode in /boot/firmware for early loading just like
is done for intel. Update the instructions for early loading to
reflect that AMD is now supported too.
Sponsored By: Netflix
Reviewed by: jrm
Differential Revision: https://reviews.freebsd.org/D44025
sysutils/cpu-microcode-*: Reorganize CPU microcode ports
Prior to this update, sysutils/devcpu-data, which only contained an RC
script, had run dependencies on the AMD and Intel microcode ports. This
made it cumbersome to have just the AMD or just the Intel microcode
ports installed. With this change, the microcode ports now depend on
the RC script.
Other changes:
- Use more intuitive port names: cpu-microcode, cpu-microcode-amd,
cpu-microcode-intel, and cpu-microcode-rc.
- Add the metaport, cpu-microcode, which pulls in all related ports.
- Pet portclippy/portfmt
Reviewed by: lwhsu, markj
Approved by: sbruno (maintainer)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41406