Date: Tue, 25 Jul 2023 16:17:41 +0200 From: infoomatic <infoomatic@gmx.at> To: questions@freebsd.org Subject: Re: AMD microcode updates (sysutils/devcpu-data-amd) Message-ID: <bc4191e7-69c7-2eca-77df-a7c8c91af966@gmx.at> In-Reply-To: <fe4ee736-b8ac-8e97-e082-6eaf502b8b2d@sentex.net> References: <fe4ee736-b8ac-8e97-e082-6eaf502b8b2d@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, you can "kldload cpuctl" and then use the pkg x86info with "x86info =2D-microcode" to list the currently running cpu firmware version. Regards, Robert On 25.07.23 14:42, mike tancsa wrote: > Hi All, > > =C2=A0=C2=A0=C2=A0 Was looking to update the handful of AMD based serve= rs I have for > the Zenbleed patch.=C2=A0 I am used to Intel CPUs where they get updated= at > boot time in /boot/firmware.=C2=A0 But when I install the AMD port, I do= nt > see it ever installed there.=C2=A0 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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (3000.06-MHz > K8-class CPU) > =C2=A0 Origin=3D"AuthenticAMD"=C2=A0 Id=3D0x830f10=C2=A0 Family=3D0x17= =C2=A0 Model=3D0x31 Stepping=3D0 > Features=3D0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P= GE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> > Features2=3D0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,M= OVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > =C2=A0 AMD Features=3D0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,L= M> > =C2=A0 AMD > Features2=3D0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,O= SVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,<b30>> > =C2=A0 Structured Extended > Features=3D0x219c91a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,PQE,RDSEED,ADX,SM= AP,CLFLUSHOPT,CLWB,SHA> > =C2=A0 Structured Extended Features2=3D0x400004<UMIP,RDPID> > =C2=A0 XSAVE Features=3D0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> > =C2=A0 AMD Extended Feature Extensions ID > EBX=3D0x18cf757<CLZERO,IRPerf,XSaveErPtr> > =C2=A0 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 > =C2=A0 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=C2=A0 for AMD CPUs ? > > Thanks! > > =C2=A0=C2=A0=C2=A0 ---Mike > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc4191e7-69c7-2eca-77df-a7c8c91af966>