OpenBSD Journal

AMD processor microcode support added to -current

Contributed by rueda on from the filling-the-gaps dept.

Thanks to a series of commits by Jonathan Gray (jsg@), -current now has support for microcode (updates) for AMD (amd64 and i386) processors:

CVSROOT:	/cvs
Module name:	src
Changes by:	jsg@cvs.openbsd.org	2023/07/21 21:46:09

Modified files:
	usr.sbin/fw_update: patterns.c 

Log message:
match AMD x86 CPUs in fw_update(8)
ok deraadt@
CVSROOT:	/cvs
Module name:	src
Changes by:	jsg@cvs.openbsd.org	2023/07/22 04:11:20

Modified files:
	sys/arch/amd64/stand/boot: conf.c 
	sys/arch/amd64/stand/cdboot: conf.c 
	sys/arch/amd64/stand/efiboot: conf.c exec_i386.c 
	sys/arch/amd64/stand/libsa: exec_i386.c 
	sys/arch/amd64/stand/pxeboot: conf.c 
	sys/arch/i386/stand/boot: conf.c 
	sys/arch/i386/stand/cdboot: conf.c 
	sys/arch/i386/stand/libsa: exec_i386.c 
	sys/arch/i386/stand/pxeboot: conf.c 

Log message:
BOOTARG_UCODE for AMD
ok deraadt@

CVSROOT:	/cvs
Module name:	src
Changes by:	jsg@cvs.openbsd.org	2023/07/22 19:46:37

Modified files:
	sys/arch/amd64/amd64: ucode.c 

Log message:
update AMD CPU microcode if a newer patch is available
ok deraadt@

CVSROOT:	/cvs
Module name:	src
Changes by:	jsg@cvs.openbsd.org	2023/07/22 20:59:53

Modified files:
	sys/arch/i386/i386: ucode.c 

Log message:
update AMD CPU microcode if a newer patch is available
ok deraadt@

Stuart Henderson (sthen@) committed the firmware port:

CVSROOT:	/cvs
Module name:	ports
Changes by:	sthen@cvs.openbsd.org	2023/07/21 17:51:51

Log message:
    import ports/sysutils/firmware/amd, microcode update binaries for AMD CPUs.
    not yet used, but adding it now so we can more easily test update mechanisms.
    
    ok jsg@
    
    Status:
    
    Vendor Tag:	sthen
    Release Tags:	sthen_20230722
    
    N ports/sysutils/firmware/amd/Makefile
    N ports/sysutils/firmware/amd/distinfo
    N ports/sysutils/firmware/amd/pkg/DESCR
    N ports/sysutils/firmware/amd/pkg/PLIST
    
    No conflicts created by this import

It's great to see support for the AMD side gaining equivalence with that for Intel (for which support was added in 2018).

(Comments are closed)


Comments
  1. Comments

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]