Re: Is the CPU microcode updated?
On Thu, 2024-09-26 at 14:53 +0200, Jörg-Volker Peetz wrote:
> There is a little program on https://github.com/AMDESE/amd_ucode_info to look
> into the microcode file. For the package amd64-microcode on Debian testing
> version 3.20240820.1 it yields:
>
> $ amd_ucode_info.py /usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin
> Microcode patches in xx/usr/lib/firmware/amd-ucode/microcode_amd_fam15h.bin:
> Family=0x15 Model=0x01 Stepping=0x02: Patch=0x0600063e Length=2592 bytes
> Family=0x15 Model=0x02 Stepping=0x00: Patch=0x06000852 Length=2592 bytes
> Family=0x15 Model=0x10 Stepping=0x01: Patch=0x06001119 Length=2592 bytes
>
> So yes, your CPU microcode is up-to-date.
Perhaps it would be nice to ship a similar tool (or just a textual table as
documentation) in the amd64-microcode package. I agree that it is not too
easy to verify your AMD CPU microcode is indeed up-to-date with the latest
microcode shipped in the package (or available from AMD), especially if you
are not too familiar with all the details – like how /proc/cpuinfo reports
the family and model numbers in decimal and not in hex, unlike everywhere
else.
Related bug report discussion with pretty good analysis and ideas from Matt
Taggart:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076703#30
Reply to: