From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH v2] firmware: fix sending -ERESTARTSYS due to signal on fallback Date: Wed, 07 Jun 2017 13:25:51 +0100 Message-ID: <1496838351.5682.58.camel@linux.intel.com> References: <20170526194640.GS8951@wotan.suse.de> <20170526215518.GB40877@dtor-ws> <20170605202410.GQ8951@wotan.suse.de> <1496760796.5682.48.camel@linux.intel.com> <20170606164734.GB27288@wotan.suse.de> <20170606221151.ygoxqkwhhjsqw632@thunk.org> <20170607002237.GJ27288@wotan.suse.de> <20170607062515.GA23434@dtor-ws> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170607062515.GA23434@dtor-ws> Sender: linux-kernel-owner@vger.kernel.org To: Dmitry Torokhov , Andy Lutomirski Cc: "Luis R. Rodriguez" , Theodore Ts'o , Linux FS Devel , Stephen Boyd , "Li, Yi" , Peter Zijlstra , Jonathan Corbet , "Eric W. Biederman" , "Michael Kerrisk (man-pages)" , Greg KH , "Fuzzey, Martin" , Linux API , Daniel Wagner , David Woodhouse , jewalt@lgsinnovations.com, rafal@milecki.pl, Arend Van Spriel , "Rafael J. Wysocki" , atull@opensource.altera.com, Moritz Fischer List-Id: linux-api@vger.kernel.org > What's wrong with saying that the only way to interrupt firmware > loading is to kill the process? So ctrl-c will no longer interrupt > it, but I do not think that ease of aborting firmware update is > primary goal here. I consider simple is good here. Agreed 100%. The user process did not ask for firmware load, it asked for an I/O operation. Semantically it should appear as if someone else did the firmware load and it just had to wait for it to happen. Alan