Received: by 10.223.185.116 with SMTP id b49csp6901077wrg; Wed, 28 Feb 2018 18:26:57 -0800 (PST) X-Google-Smtp-Source: AG47ELvhP5q+o0XQKXGAFYM6Ps/7m+ItADjldZ+bzt5jj1IL60REepvzn6w0eE49Yo5K+b30lqlD X-Received: by 2002:a17:902:20eb:: with SMTP id v40-v6mr286482plg.360.1519871217084; Wed, 28 Feb 2018 18:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519871217; cv=none; d=google.com; s=arc-20160816; b=m+naVOnNoyxVQH1ytV5ev5NT2AiCoPqB5ZEj5ubEtBCw45O5HeT4XbARPFUWM6U/Pe g0Ru8U/1BAe7pcHhBkwpIrS8vPGLlpHpYJi9fqwe6/SxPFthPNFKitb8PZ+NWm/RGMax 0iE7/pDj19XG/IJIV1mW7W+9JCb5TvAwkusMDNONdIBfqnMC2TrZ5c1yr2Q0qsLv2gg5 PdtjimomVsrGz5z/N3qNnJi63Hn6OLCuV12RdqhMbECkJO+FpZDXv2a2v3VdSLJ8q8v+ 5V3gLqayF4CjavuX5zBkbQbvF1EEMeL5WdHVZt+x1R1CSAvIIH67mUHvl1asevwOu/3a TFEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=RkrMH9EPPy88tHOwwt2ptwe2rWF1ZCZ69KIg7VHC8Uo=; b=ncmr4inPPYycEluBQUQSlmUnuzCI0ec9jtso5bMohsTPu0N8UgPSeO8Qcvy6YbqwTa mxLjeRBjp3oe+niixjQfpbyer6iQR/xRO8iq5VVgZFJzK6VtWoOEK6Sq6gEuzCxZ9U8I JpfERwRWoBamP1+YSpg9eQF1CeTx/dz8OSgcmlOC1UsrHOpC9qjH5POC1X6RLKH7Budt TQOtysFv561yqPnw29H0hoUtBIBowl/0VxIl7yHV5LlRt9sjJFn7whBI2dWYTMCSFbsg b+7S1noMZnibDx5F9DPh2gW65c0EAk+LIKqyXNHqNTm01dCIr39BQqAblwczEf2ZoOkF ywWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si1811347pgn.59.2018.02.28.18.26.41; Wed, 28 Feb 2018 18:26:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965476AbeCACZb (ORCPT + 99 others); Wed, 28 Feb 2018 21:25:31 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36135 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965382AbeCACZ3 (ORCPT ); Wed, 28 Feb 2018 21:25:29 -0500 X-Originating-IP: 50.39.166.153 Received: from localhost (50-39-166-153.bvtn.or.frontiernet.net [50.39.166.153]) (Authenticated sender: josh@joshtriplett.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9A59BA80C1; Thu, 1 Mar 2018 03:25:18 +0100 (CET) Date: Wed, 28 Feb 2018 18:25:16 -0800 From: Josh Triplett To: "Luis R. Rodriguez" Cc: Kees Cook , Greg KH , Andrew Morton , Shuah Khan , Martin Fuzzey , Mimi Zohar , David Howells , pali.rohar@gmail.com, Takashi Iwai , arend.vanspriel@broadcom.com, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , nbroeking@me.com, Vikram Mulukutla , stephen.boyd@linaro.org, Mark Brown , Dmitry Torokhov , David Woodhouse , Linus Torvalds , Abhay_Salunke@dell.com, bjorn.andersson@linaro.org, jewalt@lgsinnovations.com, LKML , "linux-fsdevel@vger.kernel.org" Subject: Re: [PATCH v2 11/11] test_firmware: test three firmware kernel configs using a proc knob Message-ID: <20180301021956.GA12202@localhost> References: <20180224024613.24078-1-mcgrof@kernel.org> <20180224024613.24078-12-mcgrof@kernel.org> <20180228013237.GH14069@wotan.suse.de> <20180228090723.GA11438@localhost> <20180228182603.GI14069@wotan.suse.de> <20180301000057.GA3426@localhost> <20180301003816.GR14069@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180301003816.GR14069@wotan.suse.de> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2018 at 12:38:16AM +0000, Luis R. Rodriguez wrote: > On Wed, Feb 28, 2018 at 04:00:58PM -0800, Josh Triplett wrote: > > On Wed, Feb 28, 2018 at 06:26:03PM +0000, Luis R. Rodriguez wrote: > > > So for folks who enable CONFIG_FW_LOADER=y, they'd now be forced to gain an > > > extra 13436 bytes broken down as follows: > > > > Ah, I see. > > > > If you have CONFIG_FW_LOADER and not CONFIG_FW_LOADER_USER_HELPER, then > > you only have the in-kernel firmware loading mechanism? > > Right, we don't have the old fallback mechanism (which BTW used to be > the default way back in the hayday). > > > Given the > > *substantial* size difference between the two, it seems useful to have > > that option. > > That's what I wanted to get to, is 13436 bytes is*substantial* enough to > merit a kernel configuration option? It seems like that is the case. By at least an order of magnitude, yes. > > What would it gain to combine the two? > > Well Android enables CONFIG_FW_LOADER_USER_HELPER, and if they do, I was trying > to think if there really was any point in having CONFIG_FW_LOADER_USER_HELPER > as an option. Who would enable CONFIG_FW_LOADER but not > CONFIG_FW_LOADER_USER_HELPER? An embedded system with a fixed set of hardware that needs exclusively a fixed set of firmware files known at system build time. > The less hairball of mess of kconfig options the better to test. Even > though this series has reduced being able to consolidating being > able to make a kernel now which lets us test all configurations in > one build. > > Who would save some 13436 bytes in the real world? *raises hand*