Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757566AbbEVTa3 (ORCPT ); Fri, 22 May 2015 15:30:29 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:33369 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756920AbbEVTa1 (ORCPT ); Fri, 22 May 2015 15:30:27 -0400 Message-ID: <555F83C4.1060908@gmail.com> Date: Fri, 22 May 2015 15:30:12 -0400 From: Austin S Hemmelgarn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dmitry Torokhov , "Luis R. Rodriguez" CC: Takashi Iwai , Paul Bolle , Geert Uytterhoeven , Borislav Petkov , Greg KH , "David S. Miller" , clemens@ladisch.de, 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 Ben-Cohen , Arnd Bergmann , 3chas3@gmail.com, Jiri Slaby , Bryan Wu , Richard Purdie , Jacek Anaszewski , mcgrof@do-not-panic.com, "linux-kernel@vger.kernel.org" Subject: Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses References: <1432241149-8762-1-git-send-email-mcgrof@do-not-panic.com> <20150521222129.GI3689@pd.tnic> <20150522065346.GA23022@pd.tnic> <1432282668.27695.24.camel@x220> <20150522175711.GE40101@dtor-ws> <20150522181924.GN23057@wotan.suse.de> <20150522185207.GG40101@dtor-ws> In-Reply-To: <20150522185207.GG40101@dtor-ws> x-hashcash: 1:21:150522:dmitry.torokhov@gmail.com::389e274a054ca4724b6195b296589bc:6b2be98fcbf88f28 x-hashcash: 1:21:150522:mcgrof@suse.com::1b0ab716db2756ba388992378e9cefe:60c5f5ebd617f857 x-hashcash: 1:21:150522:tiwai@suse.de::9e8cfc367826318bfadf96702496c7f1:cb6c541f87f2091b x-hashcash: 1:21:150522:pebolle@tiscali.nl::bf9e899ac825b32dd38a275478af17b9:23ccdb0f9ef38a15 x-hashcash: 1:21:150522:geert@linux-m68k.org::5d7097c8f84c0ed32849bc373ec3d1e7:d23b7c42db0a61e8 x-hashcash: 1:21:150522:bp@alien8.de::ee190d4018f3b5124c0f75e14b18e032:c834deb28b7689d9 x-hashcash: 1:21:150522:gregkh@linuxfoundation.org::602fa099759578aa806eb749a914edc2:e16598b0bd7e7460 x-hashcash: 1:21:150522:davem@davemloft.net::26e7acf71825a9886c37c3aa6b2339b:a136a6f5b6a91 x-hashcash: 1:21:150522:clemens@ladisch.de::7af6dc65c79ad726ddc718e9fafd60:60e983d4a793d154 x-hashcash: 1:21:150522:JBottomley@odin.com::bdf122ef5159b15f1ccb13a11ac8d485:4bc459a69d608981 x-hashcash: 1:21:150522:airlied@linux.ie::1f49b1241a8a98e7cd89c97de48e9c2:19ec02cf6651b02b x-hashcash: 1:21:150522:mchehab@osg.samsung.com::8ef52a033f7fe26cab6f92e0474d69c4:e631e01cde9723bc x-hashcash: 1:21:150522:herbert@gondor.apana.org.au::3818b17b17e0f500726b24e7fe8e11b7:c63e5d31d79e8a2 x-hashcash: 1:21:150522:marcel@holtmann.org::11ea38e09b70a1292dec1e6f2899205c:ca674cdfdc6845b9 x-hashcash: 1:21:150522:gustavo@padovan.org::e8f1ad97051336876f3a26e54cd6149:253ab48ef0ef5516 x-hashcash: 1:21:150522:johan.hedberg@gmail.com::74cca58e243aa93521ffd48755b9cc88:9147599ea832ace x-hashcash: 1:21:150522:starvik@axis.com::f71f0b0ce246b62d1f0ad9d5e760b681:a38cf72d49c1dccb x-hashcash: 1:21:150522:jesper.nilsson@axis.com::8291f00ae88665c3e9613b3c7a97dca7:7396dc804eecfb48 x-hashcash: 1:21:150522:kaloz@openwrt.org::60246f3722790c953ad5e714b4d1dcdd:239c00c8aa366a0a x-hashcash: 1:21:150522:khalasa@piap.pl::ee868997c9067c543cfc6f492f32f250:2ddc5080561c1313 x-hashcash: 1:21:150522:ohad@wizery.com::8a80c4486b15735eed61ecb70a55b0a3:4e52ffab4f68c86e x-hashcash: 1:21:150522:arnd@arndb.de::d788cc20fbaa56234bcd0e5be16ebcac:9223f766f094a119 x-hashcash: 1:21:150522:3chas3@gmail.com::401c37c5105ac3c3c1b705fa36d4e5a5:7b3453e0f511df95 x-hashcash: 1:21:150522:jslaby@suse.cz::e3ceffc167a067505030fa84da45aa90:a69dff874e4098e5 x-hashcash: 1:21:150522:cooloney@gmail.com::266ed370728839882df332683922ad88:7983564285a5ae81 x-hashcash: 1:21:150522:rpurdie@rpsys.net::9a6f5b6b7f2b3d78ce88e9dff60ee409:2ec057e67d50311 x-hashcash: 1:21:150522:j.anaszewski@samsung.com::e01edf842c39f145aa5b8594b9552df3:ca35d8eb00b34b9 x-hashcash: 1:21:150522:mcgrof@do-not-panic.com::97bbeb222cfd965df9a30e9a612c5a71:344c2680d2a22b58 x-hashcash: 1:21:150522:linux-kernel@vger.kernel.org::1c94490c50c830194982b466eb1c2114:88848675a38cb962 x-stampprotocols: hashcash:1:17;mbound:0:10:3000:5000 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms000300060706000909090400" X-Antivirus: avast! (VPS 150522-1, 2015-05-22), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9245 Lines: 190 This is a cryptographically signed message in MIME format. --------------ms000300060706000909090400 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 2015-05-22 14:52, Dmitry Torokhov wrote: > On Fri, May 22, 2015 at 08:19:24PM +0200, Luis R. Rodriguez wrote: >> On Fri, May 22, 2015 at 10:57:11AM -0700, Dmitry Torokhov wrote: >>> On Fri, May 22, 2015 at 10:43:12AM -0700, Luis R. Rodriguez wrote: >>>> On Fri, May 22, 2015 at 1:44 AM, Takashi Iwai wrote:= >>>>> At Fri, 22 May 2015 10:17:48 +0200, >>>>> Paul Bolle wrote: >>>>>> >>>>>> On Fri, 2015-05-22 at 09:11 +0200, Geert Uytterhoeven wrote: >>>>>>> On Fri, May 22, 2015 at 8:53 AM, Borislav Petkov w= rote: >>>>>>>> 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 uns= et but >>>>>>>> if you want to boot-test those kernels, you will artificially fa= il due >>>>>>>> to missing request_firmware* things... >>>>>> >>>>>> Luis also tried to explain to me that disabling FW_LOADER shouldn'= t make >>>>>> the build fail. (And, of course, we could decide to not care about= >>>>>> randconfig builds that have EXPERT set. Maybe we could even specia= l case >>>>>> EXPERT in randconfig. But that would make randconfig builds less u= seful. >>>>>> That's a separate issue, anyhow.) >>>>> >>>>> But FW_LOADER is a tristate, so it might be inconsistent if selecte= d >>>>> randomly? Luis' patch doesn't add depends but just removes select.= >>>> >>>> We could go both ways, either remove the "select" or replace it with= >>>> "depends on". As you note keeping the "depends on" ensures run time >>>> sanity for the possible tristate mismatches, but this is an EXPERT >>>> concern. The crux of what option to go with is: >>>> >>>> Should we concern ourselves with run time configuration issues wh= en >>>> folks enable EXPERT? >>> >>> Yes. >>> >>> dtor@dtor-ws:~/kernel/master$ grep -r CONFIG_EXPERT /boot/config* >>> /boot/config-3.13.0-49-generic:CONFIG_EXPERT=3Dy >>> /boot/config-3.13.0-52-generic:CONFIG_EXPERT=3Dy >>> >>> This is distro config and that is what many people use as a base for >>> their own configs. >> >> Smells Ubuntu'ish, and hence ChromeOS'ish :) > > Yes, this coming from Ubuntu, but ChromeOS is closer to Gentoo if > anything I'd say ;) > Technically, ChromeOS _is_ Gentoo, just with a bunch of third party=20 patches and configuration layered on top. IMHO though, they really do=20 have a good excuse for enabling CONFIG_EXPERT (namely, they have=20 absolute control over pretty much the entire system, and run on=20 specialized hardware). >> >> Either way SUSE kernels also have EXPERT=3Dy as well. Would not be su= rprised if >> other major distributions also have EXPERT=3Dy. > > Right, I believe Fedora has it set as well. > I'm pretty certain that Fedora does, and that Arch does as well. >> >> OK so we obviously care about EXPERT run time issues then, seems to ki= nd >> of defeat the purpose of EXPERT though, no? Makes me wonder what major= options >> are under EXPERT which most distros need. > > Not major, rather tweaking the driver sets. Like expert V4L or HID > configs. > Of the people I know personally who build their own kernels, about 80%=20 have EXPERT=3Dy for exactly this reason, namely, they want finer control = over driver options, and don't do anything to the options under the=20 EXPERT menu. Personally this is one of two reasons that I use EXPERT=3Dy= ,=20 the other being disabling the handful of deprecated syscalls at the top=20 of the list (and disabling AIO when I'm building embedded systems). >> Also, are there no other runtime >> configuration options tucked under EXPERT that we *do not* resolve rig= ht now? >> Or should all be taken care of? If not then we are being inconsistent.= >> Both of these are side topics -- but since I have a feeling this might= come >> up again, it may be worth evaluation. >> >> Following on topic: such distro configs would never have FW_LOADER as = n or >> m, though right? Is that sufficient for us to drop the select and not = apply >> the "depends on" replacement ? Or do we want to stick to the "depend o= n"? > > But the user who is not expecrt might drop it. The premise was "only > experts would have CONFIG_EXPERT and thus we do not care about > breakage". But if people use distro configs as a starting point they al= l > are "experts". > Based on this, maybe the EXPERT stuff should be subdivided into driver=20 options, and core API options under separate config options. --------------ms000300060706000909090400 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGuDCC BrQwggScoAMCAQICAxBuVTANBgkqhkiG9w0BAQ0FADB5MRAwDgYDVQQKEwdSb290IENBMR4w HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xN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BAEihQj8/Kz98h1+B6SB5tEEiZmS8lws2gynccXYkOTCfNLWws8cIQgjRwi2afFf dQI5Ly9ZlOkbIuUOCXqyH1WtFSXgtb1U0NBczDHDzqH6nnrxj21q3xJ3H7QrfuvHWS2X9NxF r9HlVEX0dGd473zr3SJs/VCn+8QiORQNhBUOr1v1jNeHJHdV/jfKDT93LFhQL7zmmfY07Hse aKW8STPh0vtO4JXUm+++X4ASextnsjrIvrkgqKTC5AFPVY+hCkNo2zdp0d0535PHFwFtMojg x/cTeoR4M6TF5hR+43sl9Qfd6hXTSpz/TAIl4n5CCQGfgdFIOS7nPnoxCu7JsOowm1o/WxUa YUHvmVOAWGQRtuWqf62J+w3yltL03Pm6WdT3Koi2wI17QR52RykwmtqmdHjKJOvrdHdZWHZq 20lSZ3J7XbpcuF3OSICZkzEKfK7lYj4GvoV8kcbgSCIxcRRRGTd+7sA005JGAAAAAAAA --------------ms000300060706000909090400-- -- 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/