Thread (48 messages) 48 messages, 12 authors, 2016-11-30

Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe

From: "Luis R. Rodriguez" <mcgrof@kernel.org>
Date: 2016-08-25 20:26:17
Also in: cocci, linux-serial, lkml

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 [off-list ref] wrote:
quoted
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help