From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759774AbbCDJUI (ORCPT ); Wed, 4 Mar 2015 04:20:08 -0500 Received: from mail.skyhub.de ([78.46.96.112]:49449 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759744AbbCDJUB (ORCPT ); Wed, 4 Mar 2015 04:20:01 -0500 Date: Wed, 4 Mar 2015 10:18:47 +0100 From: Borislav Petkov To: Daniel J Blueman Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Quentin Casasnovas , Steffen Persvold , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH] x86: Unbreak early processor microcode loading Message-ID: <20150304091847.GF3233@pd.tnic> References: <1425395444-20969-1-git-send-email-daniel@numascale.com> <20150303163836.GC25768@pd.tnic> <54F6C1E0.4060706@numascale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <54F6C1E0.4060706@numascale.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2015 at 04:27:12PM +0800, Daniel J Blueman wrote: > Yes, it's built into the kernel with config: > > CONFIG_FIRMWARE_IN_KERNEL=y > CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd.bin > amd-ucode/microcode_amd_fam15h.bin" > CONFIG_EXTRA_FIRMWARE_DIR="../firmware" > > That's as some customer and in-house environments we use are initramfs-less > and some we don't have direct control over the initramfs. > > I don't see why built-in microcode loading shouldn't work, Well, it doesn't matter really. If you need to update microcode, either with the early loader or with a built-in microcode, you'd still have to regenerate the initrd *and* the kernel. Let me try to reproduce that here. Btw, you could also use the late-update method without rebooting the machine by putting the microcode in /lib/firmware/amd-ucode/ and doing echo 1 > /sys/devices/system/cpu/microcode/reload as root. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --