Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1475771
| From | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] fs: add userspace critical mounts event support |
| Date | 2016-09-03 20:20 +0200 |
| Message-ID | <sdnHP-h4-1@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <sdaAV-oe-5@gated-at.bofh.it> <sdaKB-ue-5@gated-at.bofh.it> <sdnou-8lq-23@gated-at.bofh.it> <sdnou-8lq-21@gated-at.bofh.it> <sdnHP-h4-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Sep 3, 2016 at 11:01 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Sat, Sep 3, 2016 at 10:49 AM, Dmitry Torokhov > <dmitry.torokhov@gmail.com> wrote: >> >> Unfortunately module loading and availability of firmware is very >> loosely coupled. > > The whole "let's add a new magical proc entry to say that all > filesystems are mounted" is all about the user space coupling them. I will be first to say that the proposed *implementation* is nowhere near what should be accepted. I was thinking if we kernel could post "conditions" (maybe simple stings) that it waits for, and userspace could unlock these "conditions". One of them might be "firmware available". > > I'm just saying that if user space must know about when firmware is > ready to be loaded anyway, just do it rigth. Not with some hacky "you > can now do random things" flag. But by having user space actually say > "put this module together with this firmware". > > If you just put the two pieces together, then the module "will just work". > > And quite frankly, that sounds like a much better maintenance practice > anyway. If some module doesn't work without the firmware, then dammit, > the two *should* go together. Putting them in two different places > would be *INSANE*. Quite often it does until it does not. Most of the touch controllers work just fine until some event (abrupt cutting of power for example) where nvram gets corrupted and they come up in bootloader mode. It is just an example. Thanks. -- Dmitry
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe Daniel Vetter <daniel.vetter@ffwll.ch> - 2016-08-25 13:10 +0200
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-08-25 21:50 +0200
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe Daniel Vetter <daniel.vetter@ffwll.ch> - 2016-08-25 22:20 +0200
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-08-25 22:30 +0200
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-08-25 22:40 +0200
Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-03 02:00 +0200
[RFC] fs: add userspace critical mounts event support "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-03 02:30 +0200
Re: [RFC] fs: add userspace critical mounts event support Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-03 06:20 +0200
Re: [RFC] fs: add userspace critical mounts event support Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-09-03 06:30 +0200
Re: [RFC] fs: add userspace critical mounts event support Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-09-03 20:00 +0200
Re: [RFC] fs: add userspace critical mounts event support Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-09-03 20:20 +0200
Re: [RFC] fs: add userspace critical mounts event support "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-07 00:00 +0200
Re: [RFC] fs: add userspace critical mounts event support Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-09-07 00:30 +0200
Re: [RFC] fs: add userspace critical mounts event support "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-07 01:20 +0200
Re: [RFC] fs: add userspace critical mounts event support Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-03 20:30 +0200
Re: [RFC] fs: add userspace critical mounts event support Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-09-06 19:50 +0200
Re: [RFC] fs: add userspace critical mounts event support Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-06 20:40 +0200
Re: [RFC] fs: add userspace critical mounts event support Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-09-06 23:20 +0200
Re: [RFC] fs: add userspace critical mounts event support Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-07 00:00 +0200
Re: [RFC] fs: add userspace critical mounts event support "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-07 01:10 +0200
Re: [RFC] fs: add userspace critical mounts event support "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-09-07 00:40 +0200
csiph-web