From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933754AbcAKU3h (ORCPT ); Mon, 11 Jan 2016 15:29:37 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:56740 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932636AbcAKU3J convert rfc822-to-8bit (ORCPT ); Mon, 11 Jan 2016 15:29:09 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Borislav Petkov Cc: Michal Marek , Markus Trippelsdorf , Thomas Voegtle , linux-kernel@vger.kernel.org Subject: Re: x86/microcode update on systems without INITRD References: <20160108105900.GA14673@pd.tnic> <20160108113641.GE14673@pd.tnic> <20160108120812.GF14673@pd.tnic> <20160108121601.GC320@x4> <20160108122719.GG14673@pd.tnic> <568FB028.1030706@suse.cz> <20160108133725.GH14673@pd.tnic> <568FCC45.1010301@suse.cz> <20160111194311.GF4686@pd.tnic> Date: Mon, 11 Jan 2016 20:29:01 +0000 In-Reply-To: <20160111194311.GF4686@pd.tnic> (Borislav Petkov's message of "Mon, 11 Jan 2016 20:43:11 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Borislav Petkov writes: > On Fri, Jan 08, 2016 at 03:48:37PM +0100, Michal Marek wrote: >> The comments are printed during make oldconfig if a symbol in the >> current menu needs updating. Which is probably not the case here, both >> MICROCODE and BLK_DEV_INITRD are existing symbols. > > Right, and the problem is that "make oldconfig" sees that BLK_DEV_INITRD > is not enabled in that case and disables CONFIG_MICROCODE too. So by the time > the comment gets evaluated, CONFIG_MICROCODE is off so no workie. > > I tried a different thing, see below. It is a bit lengthly but it does > what it should and we can always extend it for other stuff later as it > might turn useful, according to my suspicion :-) > > With Thomas' config it says: > > $ make oldconfig > You have CONFIG_MICROCODE enabled without BLK_DEV_INITRD. Enable > it and make sure microcode is added to your initrd as explained in > Documentation/x86/early-microcode.txt > > scripts/kconfig/Makefile:85: recipe for target 'oldconfig' failed > make[1]: *** [oldconfig] Error 1 > Makefile:531: recipe for target 'oldconfig' failed > make: *** [oldconfig] Error 2 But this is wrong. Microcode update doesn't need initrd. -- Måns Rullgård