From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755268AbbLQTQf (ORCPT ); Thu, 17 Dec 2015 14:16:35 -0500 Received: from mail-yk0-f174.google.com ([209.85.160.174]:36497 "EHLO mail-yk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754683AbbLQTQa (ORCPT ); Thu, 17 Dec 2015 14:16:30 -0500 MIME-Version: 1.0 In-Reply-To: References: <1438725604-22795-1-git-send-email-mcgrof@do-not-panic.com> <1438725604-22795-2-git-send-email-mcgrof@do-not-panic.com> <20151004191602.GC9649@kroah.com> <20151005212222.GO14464@wotan.suse.de> <20151006090821.GB9030@kroah.com> From: "Luis R. Rodriguez" Date: Thu, 17 Dec 2015 11:16:09 -0800 X-Google-Sender-Auth: QqBvR5jh3saFVmNlCtHI000yWw0 Message-ID: Subject: Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers To: Josh Boyer , Linus Torvalds , Daniel Vetter Cc: Greg KH , Ming Lei , Jonathan Corbet , "Linux-Kernel@Vger. Kernel. Org" , "linux-doc@vger.kernel.org" , David Woodhouse , David Howells , Seth Forshee , Rusty Russell , Michal Marek , Matthew Garrett , Kyle McMartin , linux-security-module , keyrings@linux-nfs.org, Andrew Morton , Kees Cook , Casey Schaufler , Takashi Iwai , =?UTF-8?B?Vm9qdMSbY2ggUGF2bMOtaw==?= Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 8, 2015 at 1:16 PM, Josh Boyer wrote: > On Tue, Oct 6, 2015 at 5:08 AM, Greg KH wrote: >> Just responding to one thing at the moment: >> >> On Mon, Oct 05, 2015 at 11:22:22PM +0200, Luis R. Rodriguez wrote: >>> * we should phase out the usermode helper from firmware_class long term >> >> You can "phase out", but you can not delete it as it's a user/kernel api >> that we have to support for forever, sorry. > > Assuming that dell-rbu is the only in-tree legitimate user of the > userhelper code, I'm curious if the code itself could simply move into > that driver. It might help prevent the spread of reliance on an API > we don't want to see grow in usage. We'd probably need to evaluate if > the two new users could migrate off that. Greg pointed out Daniel might have some uses for this. More on this later. >> Also, for some devices / use cases, the usermode helper is the solution >> (think async loading of firmware when the host wants to do it.) > > Are any of those use cases in the kernel today, aside from dell-rbu? > Would Luis' async mode to system data suffice? We'll have to see based on Daniel's feedback (Daniel, please respond to the other thread I'll Cc you on). Luis