Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758891AbeAIXHT (ORCPT + 1 other); Tue, 9 Jan 2018 18:07:19 -0500 Received: from mail-lf0-f48.google.com ([209.85.215.48]:46560 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757065AbeAIXHQ (ORCPT ); Tue, 9 Jan 2018 18:07:16 -0500 X-Google-Smtp-Source: ACJfBou9O1AKIJOb7WEUdoclUkQk1DMwWI2EXpfp8WNTWVztFZUENgRa2ns4S7Acu8jpAgpUUcnFZd+56FNmOsdMLKI= MIME-Version: 1.0 In-Reply-To: <997def1f-c8d6-15e3-3505-2a4a78b072ab@amd.com> References: <997def1f-c8d6-15e3-3505-2a4a78b072ab@amd.com> From: Gabriel C Date: Wed, 10 Jan 2018 00:06:44 +0100 Message-ID: Subject: Re: AMD EPYC microcode update bug? To: Tom Lendacky Cc: LKML , Borislav Petkov Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 2018-01-09 23:47 GMT+01:00 Tom Lendacky : > On 1/9/2018 4:28 PM, Gabriel C wrote: >> Hello , >> >> I'm testing an EPYC system right now with 2 EPYC 7281 16-Core Processors. >> >> I'm on 4.15.0-rc7 and tested an update to microcode_amd_fam17h.bin. >> >> First run was made by using the early microcode option with dracut[1] >> so loading from a initrd. the driver reported 63 updated CPUs while CPU0 >> got still old microcode. > > I'm guessing that memory encryption is enabled, correct? I've submitted a > patch series to perform early initrd decryption for just this problem. I'm > incorporating some minor feedback and getting ready to submit the next > version. Yes is correct I use mem_encrypt=on and SMT on in BIOS. Can you give me an link to the patch series ? > > In the meantime, if you specify mem_encrypt=off on the kernel command line > it should show CPU0 updated properly (with mem_encrypt=on and SMT enabled, > I believe it really does get updated when the sibling hread is updated - > do a rdmsr of 0x0000008b to verify). > I give that an test in a bit , the box is running now some test for a different EPYC issue :) ( https://community.amd.com/thread/224000 ) Regards, Gabriel C