Bug 1580584
| Summary: | Enable early microcode update for AMD linux-firmware | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Rachel Sibley <rasibley> |
| Component: | linux-firmware | Assignee: | Bruno Meneguele <brdeoliv> |
| Status: | CLOSED ERRATA | QA Contact: | Rachel Sibley <rasibley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.5 | CC: | jbastian, rasibley |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | linux-firmware-20180518-64.git2a9b2cf.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 10:11:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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:3119 |
Description of problem: For AMD updates, the microcode isn't updated early as it is for Intel systems when updating the microcode_ctl rpm. Can we please add a %posttrans script for linux-firmware to force an update using 'dracut -f' to rebuild the initramfs.img Version-Release number of selected component (if applicable): linux-firmware-20180518-63.git2a9b2cf.el7.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Find an AMD system that requires an update 2. Provision with RHEL7 3. yum update linux-firmware and reboot 4. Note the logs do not indicate an early microcode update Actual results: no indication that microcode was updated early in the logs Expected results: microcode updated early to new patch_level ... is seen in the logs Additional info: From jbastian: "The linux-firmware %posttrans script may want to be a bit more selective i.e., check if the system has an AMD CPU, something like if [ -d /run/systemd/system ]; then if grep -q AuthenticAMD /proc/cpuinfo ; then dracut -f fi fi" ~]# cat /sys/devices/system/cpu/cpu0/microcode/version 0x600084f ~]# yum update linux-firmware-20180518-63.git2a9b2cf.el7.noarch.rpm ... ~]# reboot ... ~]# grep -i microcode /var/log/dmesg [ 3.671328] microcode: CPU0: patch_level=0x0600084f [ 3.676233] microcode: CPU1: patch_level=0x0600084f [ 3.681276] microcode: CPU2: patch_level=0x0600084f [ 3.686207] microcode: CPU3: patch_level=0x0600084f [ 3.691250] microcode: CPU4: patch_level=0x0600084f [ 3.696187] microcode: CPU5: patch_level=0x0600084f [ 3.701050] microcode: CPU6: patch_level=0x0600084f [ 3.705918] microcode: CPU7: patch_level=0x0600084f [ 3.710790] microcode: CPU8: patch_level=0x0600084f [ 3.715656] microcode: CPU9: patch_level=0x0600084f [ 3.720668] microcode: CPU10: patch_level=0x0600084f [ 3.725622] microcode: CPU11: patch_level=0x0600084f [ 3.730752] microcode: CPU12: patch_level=0x0600084f [ 3.735770] microcode: CPU13: patch_level=0x0600084f [ 3.740898] microcode: CPU14: patch_level=0x0600084f [ 3.745918] microcode: CPU15: patch_level=0x0600084f [ 3.751154] microcode: Microcode Update Driver: v2.01 <tigran.co.uk>, Peter Oruba [ 5.386180] [drm] Loading R100 Microcode ~]# cat /sys/devices/system/cpu/cpu0/microcode/version 0x6000852 ~]# dracut -f ~]# reboot ~]# grep -i microcode /var/log/dmesg [ 3.662735] microcode: microcode updated early to new patch_level=0x06000852 [ 3.669792] microcode: CPU0: patch_level=0x06000852 [ 3.674656] microcode: CPU1: patch_level=0x06000852 [ 3.679668] microcode: CPU2: patch_level=0x06000852 [ 3.684533] microcode: CPU3: patch_level=0x06000852 [ 3.689546] microcode: CPU4: patch_level=0x06000852 [ 3.694414] microcode: CPU5: patch_level=0x06000852 [ 3.699428] microcode: CPU6: patch_level=0x06000852 [ 3.704296] microcode: CPU7: patch_level=0x06000852 [ 3.709166] microcode: CPU8: patch_level=0x06000852 [ 3.714033] microcode: CPU9: patch_level=0x06000852 [ 3.719047] microcode: CPU10: patch_level=0x06000852 [ 3.724002] microcode: CPU11: patch_level=0x06000852 [ 3.729102] microcode: CPU12: patch_level=0x06000852 [ 3.734056] microcode: CPU13: patch_level=0x06000852 [ 3.739005] microcode: CPU14: patch_level=0x06000852 [ 3.743958] microcode: CPU15: patch_level=0x06000852 [ 3.749106] microcode: Microcode Update Driver: v2.01 <tigran.co.uk>, Peter Oruba [ 5.649682] [drm] Loading R100 Microcode