Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1240287 > unrolled thread

Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers

Started byGreg KH <gregkh@linuxfoundation.org>
First post2015-10-06 11:10 +0200
Last post2015-10-08 22:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/4] firmware: generalize "firmware" as "system data"  helpers Greg KH <gregkh@linuxfoundation.org> - 2015-10-06 11:10 +0200
    Re: [PATCH 1/4] firmware: generalize "firmware" as "system data"  helpers] "Luis R. Rodriguez" <mcgrof@suse.com> - 2015-10-06 19:30 +0200
    Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers Josh Boyer <jwboyer@fedoraproject.org> - 2015-10-08 22:20 +0200

#1240287 — Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-10-06 11:10 +0200
SubjectRe: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers
Message-ID<qgwpY-1Fi-23@gated-at.bofh.it>
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.

Also, for some devices / use cases, the usermode helper is the solution
(think async loading of firmware when the host wants to do it.)

thanks,

greg k-h
--
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/

[toc] | [next] | [standalone]


#1240779 — Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers]

From"Luis R. Rodriguez" <mcgrof@suse.com>
Date2015-10-06 19:30 +0200
SubjectRe: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers]
Message-ID<qgEdQ-4lc-25@gated-at.bofh.it>
In reply to#1240287
On Tue, Oct 06, 2015 at 10:08:21AM +0100, 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.
>
>
> Also, for some devices / use cases, the usermode helper is the solution
> (think async loading of firmware when the host wants to do it.)

Sure, this can still be kept in a dark corner, no need for it to clutter
or get in the way of creating cleaner APIs. That's one of the goals here,
and going through with these changes should help us get there.

  Luis
--
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/

[toc] | [prev] | [next] | [standalone]


#1242714 — Re: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers

FromJosh Boyer <jwboyer@fedoraproject.org>
Date2015-10-08 22:20 +0200
SubjectRe: [PATCH 1/4] firmware: generalize "firmware" as "system data" helpers
Message-ID<qhpPr-5yd-3@gated-at.bofh.it>
In reply to#1240287
On Tue, Oct 6, 2015 at 5:08 AM, Greg KH <gregkh@linuxfoundation.org> 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.

> 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?

josh
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web