https://github.com/torvalds/linux
Revision c61875977458637226ab093a35d200f2d5789787 authored by Alan Stern on 17 November 2011, 21:41:45 UTC, committed by Greg Kroah-Hartman on 18 November 2011, 19:18:45 UTC
Problems with NVIDIA's OHCI host controllers persist. After looking carefully through the spec, I finally realized that when a controller is reset it then automatically goes into a SUSPEND state in which it is completely quiescent (no DMA and no IRQs) and from which it will not awaken until the system puts it into the OPERATIONAL state. Therefore there's no need to worry about controllers being in the RESET state for extended periods, or remaining in the OPERATIONAL state during system shutdown. The proper action for device initialization is to put the controller into the RESET state (if it's not there already) and then to issue a software reset. Similarly, the proper action for device shutdown is simply to do a software reset. This patch (as1499) implements such an approach. It simplifies initialization and shutdown, and allows the NVIDIA shutdown-quirk code to be removed. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Andre "Osku" Schmidt <andre.osku.schmidt@googlemail.com> Tested-by: Arno Augustin <Arno.Augustin@web.de> Cc: stable <stable@vger.kernel.org> [after tested in 3.2 for a while] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 46b5a27
Tip revision: c61875977458637226ab093a35d200f2d5789787 authored by Alan Stern on 17 November 2011, 21:41:45 UTC
OHCI: final fix for NVIDIA problems (I hope)
OHCI: final fix for NVIDIA problems (I hope)
Tip revision: c618759
File | Mode | Size |
---|---|---|
include | ||
.gitignore | -rw-r--r-- | 73 bytes |
Kconfig | -rw-r--r-- | 1023 bytes |
Makefile | -rw-r--r-- | 1.8 KB |
apparmorfs.c | -rw-r--r-- | 5.6 KB |
audit.c | -rw-r--r-- | 4.5 KB |
capability.c | -rw-r--r-- | 3.8 KB |
context.c | -rw-r--r-- | 5.4 KB |
domain.c | -rw-r--r-- | 21.2 KB |
file.c | -rw-r--r-- | 12.8 KB |
ipc.c | -rw-r--r-- | 3.2 KB |
lib.c | -rw-r--r-- | 3.4 KB |
lsm.c | -rw-r--r-- | 24.6 KB |
match.c | -rw-r--r-- | 8.9 KB |
path.c | -rw-r--r-- | 5.8 KB |
policy.c | -rw-r--r-- | 31.5 KB |
policy_unpack.c | -rw-r--r-- | 16.6 KB |
procattr.c | -rw-r--r-- | 4.7 KB |
resource.c | -rw-r--r-- | 3.9 KB |
sid.c | -rw-r--r-- | 1.2 KB |
Computing file changes ...