Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756882Ab0KVSKA (ORCPT ); Mon, 22 Nov 2010 13:10:00 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:38547 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756856Ab0KVSJ7 (ORCPT ); Mon, 22 Nov 2010 13:09:59 -0500 Date: Mon, 22 Nov 2010 13:09:57 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Greg KH cc: Ben Hutchings , , , David Brownell , , , , Subject: Re: [Stable-review] [39/45] OHCI: work around for nVidia shutdown problem In-Reply-To: <20101122175523.GA18867@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2257 Lines: 53 On Mon, 22 Nov 2010, Greg KH wrote: > On Sat, Nov 20, 2010 at 11:51:39AM -0500, Alan Stern wrote: > > On Sat, 20 Nov 2010, Ben Hutchings wrote: > > > > > On Fri, 2010-11-19 at 13:43 -0800, Greg KH wrote: > > > > 2.6.32-stable review patch. If anyone has any objections, please let us know. > > > > > > > > ------------------ > > > > > > > > From: Alan Stern > > > > > > > > commit 3df7169e73fc1d71a39cffeacc969f6840cdf52b upstream. > > > > > > > > This patch (as1417) fixes a problem affecting some (or all) nVidia > > > > chipsets. When the computer is shut down, the OHCI controllers > > > > continue to power the USB buses and evidently they drive a Reset > > > > signal out all their ports. This prevents attached devices from going > > > > to low power. Mouse LEDs stay on, for example, which is disconcerting > > > > for users and a drain on laptop batteries. > > > > > > > > The fix involves leaving each OHCI controller in the OPERATIONAL state > > > > during system shutdown rather than putting it in the RESET state. > > > > Although this nominally means the controller is running, in fact it's > > > > not doing very much since all the schedules are all disabled. However > > > > there is ongoing DMA to the Host Controller Communications Area, so > > > > the patch also disables the bus-master capability of all PCI USB > > > > controllers after the shutdown routine runs. > > > [...] > > > > > > This last bit seems like a major change in behaviour, and this commit > > > has only just gone into the 2.6.37 cycle. How thoroughly has this been > > > tested on other OHCI controllers? Wouldn't it make more sense to use > > > the same quirk condition? > > > > Ben is right; let's hold off on putting this patch into any of the > > stable kernels. There has been a bug report submitted against it, > > Bugzilla #22562. > > Good point, I'll go drop it. > > Alan, when it all gets worked out, care to resend it to > stable@kernel.org? Sure. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/