On 26/09/24 at 10:29, Michel Verdier wrote:
On 2024-09-25, Franco Martelli wrote:

The file that contains the microcode for my CPU is dated April 2022:

$ LANG=C ls -l /lib/firmware/amd-ucode/microcode_amd_fam15h.bin
-rw-r--r-- 1 root root 7876 Apr 15  2022
  /lib/firmware/amd-ucode/microcode_amd_fam15h.bin

Same for me. And :

# dpkg -l amd64-microcode
ii  amd64-microcode 3.20240820.1~deb12u1 amd64        Platform firmware and 
microcode for AMD CPUs and SoCs

I've the same package:

ii amd64-microcode 3.20240820.1~deb12u1 amd64 Platform firmware and microcode for AMD CPUs and SoCs


But I got :

# cat /proc/cpuinfo | grep microcode
microcode       : 0xa601206
[x cpu nb]

If you have the same CPU this is really unusual, likely you have a newer CPU, I've a:

~$ grep "model name" /proc/cpuinfo | head -1
model name      : AMD FX(tm)-8350 Eight-Core Processor

Previously you said :

The issue is that I'm running an homemade Kernel image that it had the
CONFIG_MICROCODE_AMD item disabled by me mistakenly, so I'm not sure that the
microcode of my CPU was updated. Of course I've rebuild and installed a new
kernel with that item enabled before rebooting.

I also build my custom kernel. I use sources from 6.10.6-1~bpo12+1. I
have no CONFIG_MICROCODE_AMD but a CONFIG_MICROCODE set by
CONFIG_CPU_SUP_AMD. Which kernel version do you use ?

The one provided by Debian 12.7:

$ LANG=C dpkg -l linux-source-6.1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-=======================================================
ii linux-source-6.1 6.1.106-3 all Linux kernel source for version 6.1 with Debian patches

Me too I've CONFIG_CPU_SUP_AMD but looking at the help page it doesn't select anything.

--
Franco Martelli

Reply via email to