Received: by 10.223.185.116 with SMTP id b49csp7698642wrg; Thu, 1 Mar 2018 09:34:20 -0800 (PST) X-Google-Smtp-Source: AG47ELtwLUY7ViZOD7W425QsQuhittMTWL0G0AdNqwCt51Ei5Q6hchXR899kNkwIdZi6Wiryz/Db X-Received: by 10.98.149.90 with SMTP id p87mr2712192pfd.28.1519925660866; Thu, 01 Mar 2018 09:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519925660; cv=none; d=google.com; s=arc-20160816; b=O/4AGxbgbvXTfAxkExAlxSolKTBO9xgVsxBR3aOxXTFxMgavZCBmdsKJ1x16lHE916 M8sWmjwgXjXdit2r92byAW17Pwc+bCIzKxCDSAEcX5u4sKZXC7P3MLKSf2s3Zg2SLnXq Ob516oefvgbMVJ9jri+UWMV7yOzWWfP9TP4AEuqeV1hWrGUbSHO66ePiqUFXP+5qV1bE vzlu/r2oD6kTyzQPtVoCKJUj/GbZ9Q9dHOxCAiaPtZGyG33EGiu+KSTFh6iDdh92HdjC P7ZIDvkRQccUzb+IZ98jUGTiHyXYZKdzka9fidHVw2uAzuuho3TGoki4zjjXZ+uXbDyT Gk5g== 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=FPd7SG3tN/q5GhJPsp5IxxV39SShIBdlEbEndhzrmVA=; b=tnnC3nMt9z+FKG2fbXgIw8CDLDbnHYVIQMsYAC9BzuN+11v9gHnU/AVs9i15+DC0vf IRzDn4vZm0Ppj1rPx3Jd9dCKuNZz+/5qUZ0Xs2OjvueyTlpor7Y2xqIl2EXd0KBuqVJK dDb5STYhZMuGXC5jrtyrndcnuvGrkMO/qDA/f5+yexdPH4pUWicSE3DTE/ily046Gocd JO/HY/rgh1Wnj36LOV+CVgibKZtbF7J3uiu0HDbhj+R11rmcen0PxeS6Gdr7OgRolsHc TXamRFfoI6FsZrkfdbAGCOwilBqbB1nzQRbeTbTzPXYVvJo4vi6QSIEOxGVTfnhuJOk1 dbCQ== 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 e87si3274747pfd.352.2018.03.01.09.34.06; Thu, 01 Mar 2018 09:34:20 -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 S1033454AbeCARd1 (ORCPT + 99 others); Thu, 1 Mar 2018 12:33:27 -0500 Received: from mx2.suse.de ([195.135.220.15]:50813 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033394AbeCARdZ (ORCPT ); Thu, 1 Mar 2018 12:33:25 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D6583B66D; Thu, 1 Mar 2018 17:33:23 +0000 (UTC) Date: Thu, 1 Mar 2018 17:33:22 +0000 From: "Luis R. Rodriguez" To: Josh Triplett Cc: "Luis R. Rodriguez" , 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: <20180301173322.GW14069@wotan.suse.de> 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> <20180301021956.GA12202@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180301021956.GA12202@localhost> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 06:25:16PM -0800, Josh Triplett wrote: > 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 *substantial* enough to > > merit a kernel configuration option? It seems like that is the case. > > By at least an order of magnitude, yes. OK, then now we have a worthy reasonable description to amend into the kconfig option too. And since its now revisited, I guess we can live with it for a good while. > > > 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. Fair enough, this should help also in the description. > > 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* Thanks for the feedback. Luis