Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756172AbbEVHLi (ORCPT ); Fri, 22 May 2015 03:11:38 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:36159 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751228AbbEVHLf (ORCPT ); Fri, 22 May 2015 03:11:35 -0400 MIME-Version: 1.0 In-Reply-To: <20150522065346.GA23022@pd.tnic> References: <1432241149-8762-1-git-send-email-mcgrof@do-not-panic.com> <20150521222129.GI3689@pd.tnic> <20150522065346.GA23022@pd.tnic> Date: Fri, 22 May 2015 09:11:34 +0200 X-Google-Sender-Auth: HvYaRj60ndi_m-mhr-fqCcvDdJg Message-ID: Subject: Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses From: Geert Uytterhoeven To: Borislav Petkov Cc: "Luis R. Rodriguez" , Greg KH , "David S. Miller" , clemens@ladisch.de, Dmitry Torokhov , JBottomley@odin.com, David Airlie , Mauro Carvalho Chehab , Herbert Xu , Marcel Holtmann , "Gustavo F. Padovan" , Johan Hedberg , Mikael Starvik , Jesper Nilsson , Imre Kaloz , khalasa@piap.pl, ohad@wizery.com, Arnd Bergmann , 3chas3@gmail.com, Jiri Slaby , Bryan Wu , Richard Purdie , Jacek Anaszewski , Paul Bolle , Takashi Iwai , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2437 Lines: 62 Hi Boris, On Fri, May 22, 2015 at 8:53 AM, Borislav Petkov wrote: > On Fri, May 22, 2015 at 12:21:29AM +0200, Borislav Petkov wrote: >> On Thu, May 21, 2015 at 01:45:49PM -0700, Luis R. Rodriguez wrote: >> > The above history is just *one* set of reasons to remove all kernel >> > "select FW_LOADER" entries. Another simple reason is that since >> > FW_LOADER can only be disabled by an EXPERT and it defaults to y >> > its now a superfluous select. We will ensure things build for you >> > if using EXPERT but if you have selected EXPERT you should know >> > what run time requirements you need. >> >> Couple of notes only: > So the "depends" thing is a step backwards IMO because people would have > to go and enable FW_LOADER first. For the microcode loader, at least, > "select" is perfectly fine. That's what the EXPERT protection is for. FW_LOADER will always be enabled, unless people think they're smarter than they are, and enable EXPERT, and disable FW_LOADER. > One thing I forgot last night: what about randconfigs? All that > functionality which selects FW_LOADER, won't boot anymore, right? I > mean, there are provisions to build fine even with FW_LOADER unset but > if you want to boot-test those kernels, you will artificially fail due > to missing request_firmware* things... If you expect to _boot_ randconfig kernels, you better disable EXPERT. Still, your kernel can fail to boot due to some other critical dependency (does your kernel support your CPU?). If you want to boot randconfig kernels, create an allrandomconfig file listing all options that must have a certain value: $ cat allrandomconfig CONFIG_EXPERT=n CONFIG_MY_CRITICAL_FEATURE=y ... $ and use "make randconfig KCONFIG_ALLCONFIG=1". > ECO tip #101: Trim your mails when you reply. You trimmed too much, so I had to readd it manually ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/