microcode amd

Hi!

I have AMD CPU Familly 15 and I have in /boot/loader.conf cpu_microcode_name="/usr/local/share/cpucontrol/microcode_amd_fam15h.bin

In /usr/local/share/cpucontrol is also microcode_amd.bin. Would be the same if I have link in loader.conf on this file, please? Or is the same.
And another question how I know that microcode works?

Thank you.
 
And another question how I know that microcode works?

You will see messages from booting. What if you diff -a those files.
 
This repository includes microcode container files for family 15h, 16h, 17h, and 19h AMD CPUs. Microcode patches for families earlier than 15h are included in the microcode_amd.bin microcode container file. The microcode patches included in an AMD CPU microcode container file can be listed using the script in the following git repository

Family:23 (017h)
Model:24 (018h)
 
Check:

dmesg | grep -i microcode

or
sysutils/x86info
x86info -a | grep -i microcode

Does it return the same if you run it as a service?
service microcode_update onestart

It may not detect any required patches.
Microcode patch level: 0x8108102
dmesg doesn't show anything
service...
Updating CPU Microcode...
Re-evalulation of CPU flags Failed.

TY
 
Sorry. I forgot that I have in /etc/sysctl.conf kern.securelevel=0 and when system boot up it swithed to level 1.
After disabele it update works. The The Microcode patch level is still the same. Possible from before?

Thank you for the help.
 
You will see recent hardware validations with the same patch level. It is not relevant in itself.

You have an unofficial list of AMD microcode here. The last update is 4 years old.

CPUID signature:810F81
Family:23 (017h)
Model:24 (018h)


FYI:

Latest is not always better or tested. Manufacturers and OS mainteners usually have some insider/confidential info from microcode vendors on what got changed/fixed at newer microcode releases so if they ship older microcodes, it could be that newer versions have not been thoroughly tested, have been retracted/downgraded by the microcode vendor or not contain anything important enough to warrant an update.
[Field descriptions]
  • For Intel & AMD, only the latest microcodes of each CPUID are included in the repositories.

Further more:

(M)WAIT for It: Bridging the Gap between Microarchitectural and Architectural Side Channels
 
Back
Top