public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: "Luis R. Rodriguez" <mcgrof@suse.com>
Cc: Takashi Iwai <tiwai@suse.de>, Paul Bolle <pebolle@tiscali.nl>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Borislav Petkov <bp@alien8.de>,
	Greg KH <gregkh@linuxfoundation.org>,
	"David S. Miller" <davem@davemloft.net>,
	clemens@ladisch.de, JBottomley@odin.com,
	David Airlie <airlied@linux.ie>,
	Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Marcel Holtmann <marcel@holtmann.org>,
	"Gustavo F. Padovan" <gustavo@padovan.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Mikael Starvik <starvik@axis.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	Imre Kaloz <kaloz@openwrt.org>,
	khalasa@piap.pl, Ohad Ben-Cohen <ohad@wizery.com>,
	Arnd Bergmann <arnd@arndb.de>,
	3chas3@gmail.com, Jiri Slaby <jslaby@suse.cz>,
	Bryan Wu <cooloney@gmail.com>, Richard Purdie <rpurdie@rpsys.net>,
	Jacek Anaszewski <j.anaszewski@samsung.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses
Date: Fri, 22 May 2015 10:57:11 -0700	[thread overview]
Message-ID: <20150522175711.GE40101@dtor-ws> (raw)
In-Reply-To: <CAB=NE6WLsOoWOBwcHW5FC4k4GEtW-JWap52Zs34H-JZNtFxrhA@mail.gmail.com>

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 <tiwai@suse.de> 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 <bp@alien8.de> wrote:
> >> > > 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...
> >>
> >> 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 special case
> >> EXPERT in randconfig. But that would make randconfig builds less useful.
> >> That's a separate issue, anyhow.)
> >
> > But FW_LOADER is a tristate, so it might be inconsistent if selected
> > 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 when
> folks enable EXPERT?

Yes.

dtor@dtor-ws:~/kernel/master$ grep -r CONFIG_EXPERT /boot/config*
/boot/config-3.13.0-49-generic:CONFIG_EXPERT=y
/boot/config-3.13.0-52-generic:CONFIG_EXPERT=y

This is distro config and that is what many people use as a base for
their own configs.

> 
> Without EXPERT all run time configurations are vetted to run as
> FW_LOADER defaults to y. If we go down the path of removing the select
> completely we'd be taking a position that we could at least ensure
> EXPERT builds will work, but we cannot vet for not run time sanity of
> such build. I favor simplicity so would prefer to nuke the select
> completely and if we're really concerned about EXPERT users tristate
> mismatch misconfiguration why not just replace tristate with bool for
> FW_LOADER. That would do us the service of simplifying that code a
> bit, and leave only in place one way for folks that enable EXPERT to
> shoot themselves in the foot with FW_LOADER?

I am afraid that we are moving into wrong direction here. Why don't we
look into Kconfig to teach it the difference between forced selection
and dependency instead?

Thanks.

-- 
Dmitry

  reply	other threads:[~2015-05-22 17:57 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 20:45 [RFC v1] tree-wide: remove "select FW_LOADER" uses Luis R. Rodriguez
2015-05-21 22:21 ` Borislav Petkov
2015-05-22  6:53   ` Borislav Petkov
2015-05-22  7:11     ` Geert Uytterhoeven
2015-05-22  7:41       ` Borislav Petkov
2015-05-22  7:45         ` Geert Uytterhoeven
2015-05-22  7:56           ` Borislav Petkov
2015-05-22  8:17       ` Paul Bolle
2015-05-22  8:24         ` Geert Uytterhoeven
2015-05-22  8:26         ` Borislav Petkov
2015-05-22  8:44         ` Takashi Iwai
2015-05-22  9:06           ` Paul Bolle
2015-05-22  9:56             ` Takashi Iwai
2015-05-22 17:43           ` Luis R. Rodriguez
2015-05-22 17:57             ` Dmitry Torokhov [this message]
2015-05-22 18:19               ` Luis R. Rodriguez
2015-05-22 18:52                 ` Dmitry Torokhov
2015-05-22 19:28                   ` Luis R. Rodriguez
2015-05-22 20:22                     ` Dmitry Torokhov
2015-05-22 21:43                     ` josh
2015-05-22 22:22                       ` Luis R. Rodriguez
2015-05-22 22:33                         ` Herbert Xu
2015-05-22 23:02                           ` Luis R. Rodriguez
2015-05-22 23:54                             ` Josh Triplett
2015-05-23  7:14                             ` Geert Uytterhoeven
2015-05-25 10:55                       ` Paul Bolle
2015-05-25 17:54                         ` Josh Triplett
2015-05-25 18:25                           ` Paul Bolle
2015-05-25 19:06                             ` Josh Triplett
2015-05-25 19:16                               ` Paul Bolle
2015-05-25 19:07                           ` James Bottomley
2015-05-25 19:29                             ` Josh Triplett
2015-05-25 21:29                               ` James Bottomley
2015-05-26  0:47                                 ` Josh Triplett
2015-05-26  1:33                                   ` James Bottomley
2015-05-26  8:28                                 ` Geert Uytterhoeven
2015-05-25 10:59                     ` Paul Bolle
2015-05-22 19:30                   ` Austin S Hemmelgarn
2015-05-22 20:12                     ` Geert Uytterhoeven
2015-05-25  9:27                       ` Paul Bolle
2015-05-25 11:10                   ` Paul Bolle
2015-05-22  8:32     ` Paul Bolle
2015-05-22  9:05       ` Borislav Petkov
2015-05-22  9:20 ` Paul Bolle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150522175711.GE40101@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=3chas3@gmail.com \
    --cc=JBottomley@odin.com \
    --cc=airlied@linux.ie \
    --cc=arnd@arndb.de \
    --cc=bp@alien8.de \
    --cc=clemens@ladisch.de \
    --cc=cooloney@gmail.com \
    --cc=davem@davemloft.net \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=gustavo@padovan.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=j.anaszewski@samsung.com \
    --cc=jesper.nilsson@axis.com \
    --cc=johan.hedberg@gmail.com \
    --cc=jslaby@suse.cz \
    --cc=kaloz@openwrt.org \
    --cc=khalasa@piap.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=mcgrof@suse.com \
    --cc=mchehab@osg.samsung.com \
    --cc=ohad@wizery.com \
    --cc=pebolle@tiscali.nl \
    --cc=rpurdie@rpsys.net \
    --cc=starvik@axis.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox