Return-path: Received: from mail-we0-f174.google.com ([74.125.82.174]:56880 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752335Ab2ABWrS (ORCPT ); Mon, 2 Jan 2012 17:47:18 -0500 MIME-Version: 1.0 In-Reply-To: <20120102222920.GA16160@srcf.ucam.org> References: <4F02165C.1060400@fastmail.fm> <20120102211904.GA15316@srcf.ucam.org> <20120102215028.GA15701@srcf.ucam.org> <20120102221235.GA16012@srcf.ucam.org> <20120102222920.GA16160@srcf.ucam.org> From: Linus Torvalds Date: Mon, 2 Jan 2012 14:46:56 -0800 Message-ID: (sfid-20120102_234801_839408_518445C4) Subject: Re: loading firmware while usermodehelper disabled. To: Matthew Garrett Cc: Jack Stone , Alan Stern , Oliver Neukum , Dave Jones , Linux Kernel , Larry Finger , Chaoming Li , "John W. Linville" , Greg Kroah-Hartman , USB list , Linux Wireless List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jan 2, 2012 at 2:29 PM, Matthew Garrett wrote: >> >> Why do you make up all these idiotic theoretical cases that nobody >> cares about and has no relevance what-so-ever for the 99%? > > Rebooting is a theoretical case? Your forcing the issue to be some crazy one that "cannot be solved" is the theoretical case. I'm telling you that "reloading the firmware at resume time" is wrong, and trivially solved by loading it before resume time. You then make up all these invalid arguments about why it's somehow magically impossible, but you *literally* do it by refusing to look at what *is* possible. It's *trivial* to attach the firmware driver and load the firmware even if the firmware isn't needed - because you know it *will* be needed if somebody suspends. Why not just do that? Why make up these horrible problems that are totally irrelevant? You can match the driver by various things like DMI strings etc, if you really don't have a USB (or PCI or whatever) ID to match against. But in fact, almost always you at least have things like subvendor ID's etc that you *can* match against. So why are you actively trying to make something complicated that isn't? Why are you arguing against the simple solution that can easily be made to work for the odd and unusual case you are trying to push? Linus