Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754512AbcJEB6K (ORCPT ); Tue, 4 Oct 2016 21:58:10 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:32800 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754434AbcJEB6I (ORCPT ); Tue, 4 Oct 2016 21:58:08 -0400 MIME-Version: 1.0 In-Reply-To: <20161005014849.GA16348@cloud> References: <20160903174939.GB32345@dtor-ws> <2deae6da-dd43-7bff-e1fd-ffd26946b928@intel.com> <20161005000008.GY3296@wotan.suse.de> <20161005014849.GA16348@cloud> From: Linus Torvalds Date: Tue, 4 Oct 2016 18:58:06 -0700 X-Google-Sender-Auth: mhCg5OQfsFKt7RH-r9LksvoFTuM Message-ID: Subject: Re: [RFC] fs: add userspace critical mounts event support To: Josh Triplett Cc: "Luis R. Rodriguez" , Dmitry Torokhov , "Herbert, Marc" , "open list:DOCUMENTATION" , Jacek Anaszewski , David Woodhouse , Christian Lamparter , Julia Lawall , Andrew Morton , linuxppc-dev , Mimi Zohar , Andy Lutomirski , Richard Purdie , Wu Fengguang , Johannes Berg , Michal Marek , Hauke Mehrtens , Mark Brown , Jiri Slaby , Ming Lei , Daniel Vetter , Bjorn Andersson , Felix Fietkau , Roman Pen , Greg KH , Linux Kernel Mailing List , Vikram Mulukutla , Stephen Boyd , Takashi Iwai , Jeff Mahoney , Hariprasad S , Benjamin Poirier , Kees Cook Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 499 Lines: 12 On Tue, Oct 4, 2016 at 6:48 PM, Josh Triplett wrote: > > I definitely don't think it > should be a system-wide "mount event"; it should be a per-device "go > direct-load your firmware" poke from userspace. I don't disagree with that kind of interface. We already have things like "rescan" for PCI bus devices to force a bus rescan. Iit's a simple device attribute. Having a similar thing to trigger firmware reload for a driver sounds entirely sane. Linus