Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1527311

Summary: Microcode on AMD family 16h processors not updated early in the boot process [rhel-7.3.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact: Marie Hornickova <mdolezel>
Priority: high    
Version: 7.3CC: aarapov, bbreard, dhoward, dracut-maint-list, harald, jbastian, jcm, jonteh, jstodola, jsynacek, lnykryn, pmatouse, poros, ppandit, toneata
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dracut-033-360.el7_3.3 Doc Type: Bug Fix
Doc Text:
Previously, the dracut tool incorrectly copied the AMD family 15h microcode into the Initial RAM File System (initramfs) on systems with AMD family 16h processors. Consequently, the microcode on such systems was not updated early enough in the boot process. This update fixes dracut to copy the correct AMD family 16h microcode into initramfs, and the microcode is now correctly updated in the early phase of the boot process.
Story Points: ---
Clone Of: 1476039 Environment:
Last Closed: 2018-01-04 23:33:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1476039    
Bug Blocks: 1519780    

Description Oneata Mircea Teodor 2017-12-19 07:46:44 UTC
This bug has been copied from bug #1476039 and has been proposed to be backported to 7.3 z-stream (EUS).

Comment 3 Jan Stodola 2018-01-03 12:57:49 UTC
Reproduced on RHEL-7.3 GA.
Verified with dracut-033-463.el7_3.3 on systems with AMD CPU, families 21 and 22. In both cases the correct microcode was included in the early CPIO image:

Family 21:
# cat /proc/cpuinfo | grep "cpu family" | head -n1
cpu family      : 21
# ls -l /usr/lib/firmware/amd-ucode/
total 40
-rw-r--r--. 1 root root 12684 Aug 30  2016 microcode_amd.bin
-rw-r--r--. 1 root root   490 Aug 30  2016 microcode_amd.bin.asc
-rw-r--r--. 1 root root  7876 Aug 30  2016 microcode_amd_fam15h.bin
-rw-r--r--. 1 root root   473 Aug 30  2016 microcode_amd_fam15h.bin.asc
-rw-r--r--. 1 root root  3510 Aug 30  2016 microcode_amd_fam16h.bin
-rw-r--r--. 1 root root   473 Aug 30  2016 microcode_amd_fam16h.bin.asc
# lsinitrd | grep AMD
-rw-r--r--   1 root     root         7876 Jan  3 07:53 kernel/x86/microcode/AuthenticAMD.bin
#

Family 22:
# cat /proc/cpuinfo | grep "cpu family" | head -n1
cpu family      : 22
# ls -l /usr/lib/firmware/amd-ucode/
total 40
-rw-r--r--. 1 root root 12684 Aug 30  2016 microcode_amd.bin
-rw-r--r--. 1 root root   490 Aug 30  2016 microcode_amd.bin.asc
-rw-r--r--. 1 root root  7876 Aug 30  2016 microcode_amd_fam15h.bin
-rw-r--r--. 1 root root   473 Aug 30  2016 microcode_amd_fam15h.bin.asc
-rw-r--r--. 1 root root  3510 Aug 30  2016 microcode_amd_fam16h.bin
-rw-r--r--. 1 root root   473 Aug 30  2016 microcode_amd_fam16h.bin.asc
# lsinitrd | grep AMD
-rw-r--r--   1 root     root         3510 Jan  3 07:53 kernel/x86/microcode/AuthenticAMD.bin
#

Moving to VERIFIED.

Comment 5 Lukáš Nykrýn 2018-01-04 10:30:13 UTC
*** Bug 1529309 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2018-01-04 23:33:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0043