Date: Tue, 25 Jul 2023 10:44:39 -0400 From: mike tancsa <mike@sentex.net> To: infoomatic <infoomatic@gmx.at>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: AMD microcode updates (sysutils/devcpu-data-amd) Message-ID: <d07e3966-cec6-f369-a2b2-e9d390304338@sentex.net> In-Reply-To: <bc4191e7-69c7-2eca-77df-a7c8c91af966@gmx.at> References: <fe4ee736-b8ac-8e97-e082-6eaf502b8b2d@sentex.net> <bc4191e7-69c7-2eca-77df-a7c8c91af966@gmx.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/25/2023 10:17 AM, infoomatic wrote: > Hi, > > you can "kldload cpuctl" and then use the pkg x86info with "x86info > --microcode" to list the currently running cpu firmware version. > Thanks very much, that was exactly what I was looking for! before and after Microcode patch level: 0x8301052 Microcode patch level: 0x830107a ---Mike > 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 >> >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d07e3966-cec6-f369-a2b2-e9d390304338>