Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 545E5C64EC4 for ; Tue, 28 Feb 2023 21:46:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbjB1VqP (ORCPT ); Tue, 28 Feb 2023 16:46:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbjB1Vpz (ORCPT ); Tue, 28 Feb 2023 16:45:55 -0500 Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 976CD32E7A for ; Tue, 28 Feb 2023 13:45:30 -0800 (PST) Received: from [10.10.3.121] (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id 4076240770DE; Tue, 28 Feb 2023 21:45:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 4076240770DE Date: Wed, 1 Mar 2023 00:45:08 +0300 (MSK) From: Alexander Monakov To: Andrew Cooper cc: Borislav Petkov , Tavis Ormandy , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: x86: AMD Zen2 ymm registers rolling back In-Reply-To: <8eff0a18-7faa-1135-a558-40150f4443e5@citrix.com> Message-ID: References: <0371ec3d-0899-f94a-7f21-21d805df2927@citrix.com> <4737f149-c5b7-8a51-7cc5-8bda6e98308b@ispras.ru> <3d007f98-a42a-3c0e-8d6a-c86c5d0e25be@ispras.ru> <4d21fe93-7b77-bf5a-9ba8-645256ab0983@ispras.ru> <8eff0a18-7faa-1135-a558-40150f4443e5@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Feb 2023, Andrew Cooper wrote: > On 28/02/2023 7:29 pm, Alexander Monakov wrote: > > On Tue, 28 Feb 2023, Borislav Petkov wrote: > > > > That I can reproduce the bug even with the latest BIOS, i.e. the microcode > > in the latest BIOS update does not have the fix, and the linux-firmware.git > > microcode does not have a patch for this CPU family at all. > > > > Hence the question how to get fixed microcode for this CPU family. > > I shouldn't be recommending this, but I've begged AMD many times to be > better at publishing microcode... > > https://github.com/platomav/CPUMicrocodes > > and you'll need [snip script] Thank you, this is good to have. Unfortunately, even with microcode 0x08600109 taken from that repo the issue is reproducible (it is dated 2022-03-28, so perhaps not really surprising). Alexander