I read that AMD microcode from the AGESA always has a higher patch version number than the microcode supplied by the kernel. The lastest microcode version from the linux-firmware repo the latest version for family 0x19 are:
My CPU (Ryzen 5900x) reports [ 0.579161] microcode: CPU0: patch_level=0x0a20120a, though? My BIOS is from January, the amd-ucode was update in July.
Others have come to the same observation and speculate that the linux-firmware microcode is only for Epyc. AMD in their statement about inception only talks about updating microcode via AGESA.
Anyone having hardware access to an epic CPU ? Could you please report the numbers from zstdcat /lib/firmware/amd-ucode/README.zst vs the patch level reported by grep microcode /proc/cpuinfo, even if you run a different distro ?
I don’t have that README.zst file in Ubuntu 22.04 LTS, but the amd64-microcode version is 3.20191218.1ubuntu2. The package source code should be here (The server has not rebooted since the last package update).
$ grep "\(microcode\|model name\)" /proc/cpuinfo | head -2
model name : AMD EPYC 7742 64-Core Processor
microcode : 0x8301025
I guess that pretty much confirms the theory, AMD only rolls microcode for Epyc and there is no magic sauce why the patch version are all over the place on their consumer chips. For me, the worst thing is their lack of transparency. Guess they're justification is ridiculous and incomprehensible from a customer standpoint, otherwise they would have communicated it.
Also funny that Ubuntu 22.04 doesn't ship microcode for Zen3 and higher, why don't they backport such things?
Anyone having hardware access to an epic CPU ? Could you please report the numbers from
zstdcat /lib/firmware/amd-ucode/README.zst
vs the patch level reported bygrep microcode /proc/cpuinfo
, even if you run a different distro ?I don’t have that README.zst file in Ubuntu 22.04 LTS, but the amd64-microcode version is
3.20191218.1ubuntu2
. The package source code should be here (The server has not rebooted since the last package update).Thx a lot for checking this, you gave me the missing part in the puzzle.
It was hard to find the actual patch increase, but the latest commit lists the current patch level:
I guess that pretty much confirms the theory, AMD only rolls microcode for Epyc and there is no magic sauce why the patch version are all over the place on their consumer chips. For me, the worst thing is their lack of transparency. Guess they're justification is ridiculous and incomprehensible from a customer standpoint, otherwise they would have communicated it.
Also funny that Ubuntu 22.04 doesn't ship microcode for Zen3 and higher, why don't they backport such things?