lkml.org 
[lkml]   [2016]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe
    On Thu, Aug 25, 2016 at 10:10:52PM +0200, Daniel Vetter wrote:
    > Cutting down since a lot of this is probably better discussed at
    > ks/lpc. Aside, if you want to check out Chris Wilson's work on our new
    > depency handling, it's called kfence.
    >
    > https://lkml.org/lkml/2016/7/17/37

    Thanks more reading.. :)

    > On Thu, Aug 25, 2016 at 9:41 PM, Luis R. Rodriguez <mcgrof@kernel.org> wrote:
    > >> > So .. I agree, let's avoid the hacks. Patches welcomed.
    > >>
    > >> Hm, this is a definite change of tack - back when I discussed this
    > >> with Greg about 2 ks ago it sounded like "don't do this". The only
    > >> thing we need is some way to wait for rootfs before we do the
    > >> request_firmware. Everything else we handle already in the kernel.
    > >
    > > OK so lets just get this userspace event done, and we're set.
    >
    > Ah great. As long as that special wait-for-rootfs-pls firmware request
    > is still allowed, i915&gfx folks will be happy. We will call it from
    > probe though ;-) but all from our own workers.

    We should strive for this to be transparent to drivers, ie, this safeguard of
    looking for firmware should be something handled by the kernel as otherwise
    we're just forcing a race condition given the review in the last thread.

    Luis

    \
     
     \ /
      Last update: 2016-09-17 09:57    [W:5.759 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site