From nobody Tue Jul 25 14:17:41 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R9Jyd4N3Tz4nmxY for ; Tue, 25 Jul 2023 14:17:45 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R9Jyc2L9bz4DxX for ; Tue, 25 Jul 2023 14:17:44 +0000 (UTC) (envelope-from infoomatic@gmx.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.at header.s=s31663417 header.b=QWQyL8aV; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.17.20 as permitted sender) smtp.mailfrom=infoomatic@gmx.at; dmarc=pass (policy=none) header.from=gmx.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1690294662; x=1690899462; i=infoomatic@gmx.at; bh=cWCtGaOxi4sbo3B2vtKRs/WTMU10zj5GT7fdAC35GcE=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=QWQyL8aVTMR2Iu0u7KfwBIPkicMixgL/VUZkIgPFJs7hssXTqwU0oXTUY4iF6JxAJsfpvJS hg8LMSLrfwS4wM24y3cdVnuv9qyFdyUPtZlgu9CqN5dA5fBXSbTpBAjr5hM0xEi2NJJY9pVIZ J+G7i8cSkqck15y7W/GwdpajQUh0FmJY6FRYPqs9OQ8z8ihNX98MXYUpxr8wcJMLkhIr1nujI Z3DRcbET7rdt1q67nuD7Mdf5UU6c5UxuW1Bq7Zty7foP/MK2l7Pawf8jUtjbRq1+ttJGeBFv+ qwcGoYnAYxAZ5clXM5NlFx61401n+rG+ALe1DFH91jKGNTtFh+ZA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.0.1.209] ([178.114.182.195]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4axq-1qMexc0102-001j05 for ; Tue, 25 Jul 2023 16:17:42 +0200 Message-ID: Date: Tue, 25 Jul 2023 16:17:41 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: AMD microcode updates (sysutils/devcpu-data-amd) Content-Language: en-US To: questions@freebsd.org References: From: infoomatic In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:CqgwWNnfIBHCeztNEKdqWndv+K3KYuXUJxQoJJKWXZBxF66C4YM t93CpmXHTP/5hfde+xvaQuJfg7ZWDj7x2Xq0YwD3uOK/Rjm8vnEkFULvJnbXzPmhPNoElQj DdCOfa3thO/ZxJEAFdQyeb74vYbJJe6MIOVULabn1IAvEhXrHqo58osPvt4onY+S19gJnXC yDkDBOOJ33iJbCjJRo2zA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:faQybivQKlQ=;XDWWZk0mfiIf29l92ynoE6osKi2 9v9Igdg1tDvVYezwcEYYx0Dk2a/ChhQk0JHIOPhnCS0a8AkRgDDS5OWOooZqXC1wf7wpjXw6O 72lmFSkyhsbJYmFEPANNYJTF2Bgb/2WDkkPEi4kGvY8ADu5qh2ZM917CjDFdO4FYKUzSpZf07 VsGEvpIqtK8AAmjaVLxObvJ9F4/XHSlW3nPwW2tJi7mdyEWohfm9eIPDBe77xnpEAZ/Q3pxGU Dz2b1BaQVxM2qErKeIOjcP9vIkYmp/ckY0T52vCttRek+JF0fksmqrHJdpIdfZ5WP1GyW8hdi qP97PcIlYgBPB/tOTeSk2GvTmi1hv+9tmpCHTVR+8ebaMMAyefXATOlqMkJg0jr7A+YU3Iku1 +GWTfwWM7fZlGC2Gs2+2PDtYqKrbJX/BYx+EoB2zmfb1yzy2kg9uNrHZfaXe8NHHF8b8T+rhz sYnHlks3p76ZII8uGEV8wrGEzb8KvJ65GdsMqSN00Xel7bmyESFP9tIYCBe6Q/kLdVntxIQ/B 1jKi8qIO9jUtu205NgkbPO90aipcNkqj/iJMDEEpiwWBlTHmT5p1Y70vZWkWkiloCwK8uHCIM KXfujtYir0WE3PlXWbT4c1y0LQ4cpQ5p6uj8ihEYBJpR4mtFBcqUmkPlbeT2Sz4M0xFiXPaPe FvuV8llF/EgAps72WwrJdHnZerHY4+j1nPkH20VHqCBUuawuNasovlPAAj2HvRZNiYqM1eWE/ UotkBhj6OL2mEKlVKIb71qV1N0ehlyXAxgRmSNl6Rnw7OeMO7ntDAAVXRFVFzTEZi3mPptIBm H3Nbcicf9UzAbRPDLAYYmTnkO44Oz5LXy2XkLmj7+Xmfi8wVaKInwn8bKNcNr8lRJY96tCaqh LLxjAm1h8RtlK/MbKWEkVLgEU8uu4PGb2E3E0E9jPUZmea3B1BHLF/65TojNhP/zof7m00mhd 2Hdoce61xrNLPmpdaKwWuWC1598= X-Spamd-Result: default: False [-2.02 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; R_DKIM_ALLOW(-0.20)[gmx.at:s=s31663417]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; NEURAL_SPAM_MEDIUM(0.19)[0.191]; NEURAL_HAM_LONG(-0.12)[-0.115]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.20:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; BLOCKLISTDE_FAIL(0.00)[212.227.17.20:server fail,178.114.182.195:server fail]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RWL_MAILSPIKE_NEUTRAL(0.00)[212.227.17.20:from]; DKIM_TRACE(0.00)[gmx.at:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.at]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4R9Jyc2L9bz4DxX X-Spamd-Bar: -- 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 > Features2=3D0x7ed8320b > =C2=A0 AMD Features=3D0x2e500800 > =C2=A0 AMD > Features2=3D0x75c237ff> > =C2=A0 Structured Extended > Features=3D0x219c91a9 > =C2=A0 Structured Extended Features2=3D0x400004 > =C2=A0 XSAVE Features=3D0xf > =C2=A0 AMD Extended Feature Extensions ID > EBX=3D0x18cf757 > =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 > >