Re: AMD microcode updates (sysutils/devcpu-data-amd)
- Reply: mike tancsa : "Re: AMD microcode updates (sysutils/devcpu-data-amd)"
- In reply to: mike tancsa : "AMD microcode updates (sysutils/devcpu-data-amd)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 14:17:41 UTC
Hi, you can "kldload cpuctl" and then use the pkg x86info with "x86info --microcode" to list the currently running cpu firmware version. Regards, Robert On 25.07.23 14:42, mike tancsa wrote: > Hi All, > > Was looking to update the handful of AMD based servers I have for > the Zenbleed patch. I am used to Intel CPUs where they get updated at > boot time in /boot/firmware. But when I install the AMD port, I dont > see it ever installed there. If I do a userland start > > # /usr/local/etc/rc.d/microcode_update start > Updating CPU Microcode... > Done. > # > > it seems to work, in that dmesg shows > > CPU: AMD EPYC 7302P 16-Core Processor (3000.06-MHz > K8-class CPU) > Origin="AuthenticAMD" Id=0x830f10 Family=0x17 Model=0x31 Stepping=0 > Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM> > AMD > Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,<b30>> > Structured Extended > Features=0x219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> > Structured Extended Features2=0x400004<UMIP,RDPID> > XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> > AMD Extended Feature Extensions ID > EBX=0x18cf757<CLZERO,IRPerf,XSaveErPtr> > SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 > TSC: P-state invariant, performance statistics > > > But how do I know if the microcode got updated ? The dmesg displaying > the features are the same. Is there a command to show the microcode > version before and after for AMD CPUs ? > > Thanks! > > ---Mike > >