From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755296AbcAROL7 (ORCPT ); Mon, 18 Jan 2016 09:11:59 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:44877 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755227AbcAROL6 convert rfc822-to-8bit (ORCPT ); Mon, 18 Jan 2016 09:11:58 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Borislav Petkov Cc: Thomas Voegtle , Michal Marek , Markus Trippelsdorf , linux-kernel@vger.kernel.org, x86-ml Subject: Re: [RFC PATCH] x86/kconfig: Sanity-check config file during oldconfig References: <568FB028.1030706@suse.cz> <20160108133725.GH14673@pd.tnic> <568FCC45.1010301@suse.cz> <20160111194311.GF4686@pd.tnic> <20160111205945.GH4686@pd.tnic> <20160111211712.GI4686@pd.tnic> <20160114184350.GB12109@pd.tnic> <20160118140649.GC12651@pd.tnic> Date: Mon, 18 Jan 2016 14:11:49 +0000 In-Reply-To: <20160118140649.GC12651@pd.tnic> (Borislav Petkov's message of "Mon, 18 Jan 2016 15:06:49 +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 Mon, Jan 18, 2016 at 02:36:09PM +0100, Thomas Voegtle wrote: >> My problem was, CONFIG_MICROCODE got dropped silently, and yes that is >> fixed for me with this patch. But I think this is a little bit odd way >> to fix it, but I don't have a better idea. > > Me neither. The problem is, I need to grep the config that goes into > the "oldconfig" *before* scripts/kconfig/conf gets a hold of it and > satisfies deps and thus turns off CONFIG_MICROCODE in the process. Wasn't the idea *not* to disable CONFIG_MICROCODE? > This is a simpler solution short of hacking scripts/kconfig/conf and > it can be used for other stuff we might need in arch/x86/ > >> What's with olddefconfig > > Yes, I'll update the patch. > >> and silentoldconfig ? > > This one is funny. Makefile's help says: > > silentoldconfig - Same as oldconfig, but quietly, additionally update deps > > and yet doing > > $ make silentoldconfig > > is not very silent and goes through all new prompts asking me about them. It asks about new options but doesn't print (as many) unchanged ones. That makes it more silent. olddefconfig asks no questions and sets new options to their defaults. -- Måns Rullgård