Re: [PATCH 09/15] virtio-blk: Pass attribute group to device_add_disk

2016-09-03 Thread Michael S. Tsirkin
On Wed, Aug 17, 2016 at 03:15:09PM +0800, Fam Zheng wrote: > Previously after device_add_disk returns, the KOBJ_ADD uevent is already > emitted. Adding attributes after that is a poor usage of kobject, and > in practice may result in race conditions with userspace, for > example udev checks availab

Re: [RFC] fs: add userspace critical mounts event support

2016-09-03 Thread Dmitry Torokhov
On Sat, Sep 3, 2016 at 11:01 AM, Linus Torvalds wrote: > On Sat, Sep 3, 2016 at 10:49 AM, Dmitry Torokhov > 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 mounte

Re: [RFC] fs: add userspace critical mounts event support

2016-09-03 Thread Linus Torvalds
On Sat, Sep 3, 2016 at 10:49 AM, Dmitry Torokhov 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'm just saying that

Re: [RFC] fs: add userspace critical mounts event support

2016-09-03 Thread Dmitry Torokhov
On Fri, Sep 02, 2016 at 09:41:18PM -0700, Linus Torvalds wrote: > On Sep 2, 2016 9:20 PM, "Dmitry Torokhov" wrote: > > > > Like what? Some devices do need to have firmware loaded so we know > > their capabilities, so we really can't push the firmware loading into > > "open". > > So you > (a) docu

Re: [Ksummit-discuss] [CORE TOPIC] (group) maintainership models

2016-09-03 Thread Michael Ellerman
On 3 September 2016 06:26:08 GMT+10:00, Linus Torvalds wrote: >On Fri, Sep 2, 2016 at 1:06 PM, Arnd Bergmann wrote: >> >> When I once looked, I thought all drivers using NO_IRQ were specific >> to powerpc or one of the less common architectures. > >powerpc definitely does seem to be the bigges

Re: [PATCH 1/3] powerpc/mm: Don't alias user region to other regions below PAGE_OFFSET

2016-09-03 Thread Paul Mackerras
On Fri, Sep 02, 2016 at 05:52:16PM +0530, Aneesh Kumar K.V wrote: > > Hi Paul, > > Really nice catch. Was this found by code analysis or do we have any > reported issue around this ? I found it by code analysis. I haven't been able to find any really bad consequence, beyond leaking some informa

Re: [RFC] fs: add userspace critical mounts event support

2016-09-03 Thread Linus Torvalds
On Sep 2, 2016 9:20 PM, "Dmitry Torokhov" wrote: > > Like what? Some devices do need to have firmware loaded so we know > their capabilities, so we really can't push the firmware loading into > "open". So you (a) document that (b) make the driver only build as a module (c) make sure the module an