[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120102230037.GA16458@srcf.ucam.org>
Date: Mon, 2 Jan 2012 23:00:37 +0000
From: Matthew Garrett <mjg@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Jack Stone <jwjstone@...tmail.fm>,
Alan Stern <stern@...land.harvard.edu>,
Oliver Neukum <oliver@...kum.org>,
Dave Jones <davej@...hat.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Larry Finger <Larry.Finger@...inger.net>,
Chaoming Li <chaoming_li@...lsil.com.cn>,
"John W. Linville" <linville@...driver.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
USB list <linux-usb@...r.kernel.org>,
Linux Wireless List <linux-wireless@...r.kernel.org>
Subject: Re: loading firmware while usermodehelper disabled.
On Mon, Jan 02, 2012 at 02:46:56PM -0800, Linus Torvalds wrote:
> 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?
It means adding complexity to drivers that don't currently care about
it, and carrying that cost even for hardware that doesn't need it. It
can certainly be made to work, but it's inelegant. We could avoid this
specific instance of the problem by just punting responsibility to
userland instead.
It's clear that we can solve this. All I'm saying is that just making
the firmware loader cache things isn't a solution in itself. In this
specific case, it means merging the isight_firmware driver into
uvcvideo, which is something the uvcvideo maintainer didn't seem keen on
a few years ago.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists