This week a new AMD microcode was released: amd-ucode 20220411.705f19a-1
How can I check if that is properly loaded and applied during boot? My CPU is a Ryzen 9 5900X and there should be something new in this update.
I am using dracut + systemd-boot to boot my system. When I create the initrd dracut is telling me that it is using amd_ucode.img:
...
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ***
dracut: *** Using microcode found in '/boot/amd-ucode.img' ***
dracut: *** Store current command line parameters ***
...
When I check the journal after boot I see the following microcode information:
# journalctl -b | grep microcode
Apr 15 09:17:37 rakete kernel: microcode: CPU0: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU1: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU2: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU3: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU4: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU5: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU6: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU7: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU8: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU9: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU10: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU11: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU12: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU13: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU14: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU15: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU16: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU17: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU18: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU19: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU20: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU21: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU22: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: CPU23: patch_level=0x0a201016
Apr 15 09:17:37 rakete kernel: microcode: Microcode Update Driver: v2.2.
There is no hint that amd_ucode.img is actually applied. If I hardcode the amd_ucode.img into the systemd-boot config:
initrd=/amd_ucode.img
I get the same result.
But is that the latest and greatest patch level? I want to verify. But I can not find any information how to do that? I could not find information what the latest patch_level is.