2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files. percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.
percpu.h -> slab.h dependency is about to be removed. Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability. As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.
http://userweb.kernel.org/~tj/misc/slabh-sweep.py
The script does the followings.
* Scan files for gfp and slab usages and update includes such that
only the necessary includes are there. ie. if only gfp is used,
gfp.h, if slab is used, slab.h.
* When the script inserts a new include, it looks at the include
blocks and try to put the new include such that its order conforms
to its surrounding. It's put in the include block which contains
core kernel includes, in the same order that the rest are ordered -
alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
doesn't seem to be any matching order.
* If the script can't find a place to put a new include (mostly
because the file doesn't have fitting include block), it prints out
an error message indicating which .h file needs to be added to the
file.
The conversion was done in the following steps.
1. The initial automatic conversion of all .c files updated slightly
over 4000 files, deleting around 700 includes and adding ~480 gfp.h
and ~3000 slab.h inclusions. The script emitted errors for ~400
files.
2. Each error was manually checked. Some didn't need the inclusion,
some needed manual addition while adding it to implementation .h or
embedding .c file was more appropriate for others. This step added
inclusions to around 150 files.
3. The script was run again and the output was compared to the edits
from #2 to make sure no file was left behind.
4. Several build tests were done and a couple of problems were fixed.
e.g. lib/decompress_*.c used malloc/free() wrappers around slab
APIs requiring slab.h to be added manually.
5. The script was run on all .h files but without automatically
editing them as sprinkling gfp.h and slab.h inclusions around .h
files could easily lead to inclusion dependency hell. Most gfp.h
inclusion directives were ignored as stuff from gfp.h was usually
wildly available and often used in preprocessor macros. Each
slab.h inclusion directive was examined and added manually as
necessary.
6. percpu.h was updated not to include slab.h.
7. Build test were done on the following configurations and failures
were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
distributed build env didn't work with gcov compiles) and a few
more options had to be turned off depending on archs to make things
build (like ipr on powerpc/64 which failed due to missing writeq).
* x86 and x86_64 UP and SMP allmodconfig and a custom test config.
* powerpc and powerpc64 SMP allmodconfig
* sparc and sparc64 SMP allmodconfig
* ia64 SMP allmodconfig
* s390 SMP allmodconfig
* alpha SMP allmodconfig
* um on x86_64 SMP allmodconfig
8. percpu.h modifications were reverted so that it could be applied as
a separate patch and serve as bisection point.
Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
2010-03-24 17:04:11 +09:00
|
|
|
|
2011-05-27 09:56:31 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2007-05-04 11:53:03 -04:00
|
|
|
|
2010-04-24 23:21:52 +02:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2007-05-22 11:50:17 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-23 14:22:29 +02:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-08-28 11:43:25 -07:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-10 19:36:41 +01:00
|
|
|
|
2014-01-28 22:22:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-10 19:36:41 +01:00
|
|
|
|
2011-10-23 14:22:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-28 22:22:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-13 11:29:23 +01:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
2014-01-12 10:07:50 +01:00
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
2014-01-12 10:07:50 +01:00
|
|
|
|
2014-01-28 22:22:27 +01:00
|
|
|
|
2014-01-12 10:07:50 +01:00
|
|
|
|
2014-01-28 22:22:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
|
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
2007-09-04 11:46:23 +02:00
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2012-01-24 13:34:41 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-08-28 11:43:25 -07:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2014-01-28 22:22:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
|
|
|
|
|
2012-05-13 12:35:00 +02:00
|
|
|
|
2012-05-13 12:34:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-13 12:35:00 +02:00
|
|
|
|
2012-05-13 12:34:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-13 12:35:00 +02:00
|
|
|
|
|
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
2012-05-13 12:35:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-13 12:34:59 +02:00
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-10 19:36:42 +01:00
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
|
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
|
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-17 11:55:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-16 13:24:53 -04:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-23 15:12:14 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2007-11-28 12:23:18 -08:00
|
|
|
|
|
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-28 12:23:18 -08:00
|
|
|
|
|
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2012-08-22 19:11:26 +09:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2009-06-29 10:56:54 -04:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2009-06-29 10:56:54 -04:00
|
|
|
|
2008-01-30 15:21:33 -08:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2015-08-25 21:10:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-30 15:21:33 -08:00
|
|
|
|
2007-07-31 20:34:03 -07:00
|
|
|
|
2014-01-11 02:04:00 +01:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2014-01-11 02:04:00 +01:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-04-09 16:03:43 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
2010-01-08 12:56:04 -05:00
|
|
|
|
2012-05-22 11:36:59 +02:00
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2012-10-04 09:53:43 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-05-11 11:44:06 -04:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2013-10-09 17:19:26 +02:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
2014-07-17 15:40:57 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-05-08 11:54:37 -04:00
|
|
|
|
2014-07-17 15:40:57 -04:00
|
|
|
|
2009-01-15 17:03:33 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2013-10-09 17:19:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-07 21:30:25 +05:30
|
|
|
|
2013-10-09 17:19:26 +02:00
|
|
|
|
2015-09-07 21:30:25 +05:30
|
|
|
|
2013-10-09 17:19:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-12-31 11:31:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-18 20:22:23 +02:00
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
2009-08-27 16:46:56 +02:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-05-11 11:44:06 -04:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-09 11:52:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2008-01-30 15:21:33 -08:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2016-03-16 13:26:17 +01:00
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
2006-08-28 11:43:25 -07:00
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2016-03-16 13:26:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-25 21:10:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2016-04-29 15:25:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
2010-05-11 11:44:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-11 11:44:06 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-28 11:43:25 -07:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
USB: Disable USB 3.0 LPM in critical sections.
There are several places where the USB core needs to disable USB 3.0
Link PM:
- usb_bind_interface
- usb_unbind_interface
- usb_driver_claim_interface
- usb_port_suspend/usb_port_resume
- usb_reset_and_verify_device
- usb_set_interface
- usb_reset_configuration
- usb_set_configuration
Use the new LPM disable/enable functions to temporarily disable LPM
around these critical sections.
We need to protect the critical section around binding and unbinding USB
interface drivers. USB drivers may want to disable hub-initiated USB
3.0 LPM, which will change the value of the U1/U2 timeouts that the xHCI
driver will install. We need to disable LPM completely until the driver
is bound to the interface, and the driver has a chance to enable
whatever alternate interface setting it needs in its probe routine.
Then re-enable USB3 LPM, and recalculate the U1/U2 timeout values.
We also need to disable LPM in usb_driver_claim_interface,
because drivers like usbfs can bind to an interface through that
function. Note, there is no way currently for userspace drivers to
disable hub-initiated USB 3.0 LPM. Revisit this later.
When a driver is unbound, the U1/U2 timeouts may change because we are
unbinding the last driver that needed hub-initiated USB 3.0 LPM to be
disabled.
USB LPM must be disabled when a USB device is going to be suspended.
The USB 3.0 spec does not define a state transition from U1 or U2 into
U3, so we need to bring the device into U0 by disabling LPM before we
can place it into U3. Therefore, call usb_unlocked_disable_lpm() in
usb_port_suspend(), and call usb_unlocked_enable_lpm() in
usb_port_resume(). If the port suspend fails, make sure to re-enable
LPM by calling usb_unlocked_enable_lpm(), since usb_port_resume() will
not be called on a failed port suspend.
USB 3.0 devices lose their USB 3.0 LPM settings (including whether USB
device-initiated LPM is enabled) across device suspend. Therefore,
disable LPM before the device will be reset in
usb_reset_and_verify_device(), and re-enable LPM after the reset is
complete and the configuration/alt settings are re-installed.
The calculated U1/U2 timeout values are heavily dependent on what USB
device endpoints are currently enabled. When any of the enabled
endpoints on the device might change, due to a new configuration, or new
alternate interface setting, we need to first disable USB 3.0 LPM, add
or delete endpoints from the xHCI schedule, install the new interfaces
and alt settings, and then re-enable LPM. Do this in usb_set_interface,
usb_reset_configuration, and usb_set_configuration.
Basically, there is a call to disable and then enable LPM in all
functions that lock the bandwidth_mutex. One exception is
usb_disable_device, because the device is disconnecting or otherwise
going away, and we should not care about whether USB 3.0 LPM is enabled.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
2012-05-02 14:25:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-28 11:43:25 -07:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2008-01-25 11:12:21 -06:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-09 11:52:31 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-04-16 15:35:09 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2009-04-16 15:35:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2008-11-13 10:31:35 -08:00
|
|
|
|
2010-02-17 10:57:05 -08:00
|
|
|
|
2009-04-16 15:35:09 -04:00
|
|
|
|
|
|
|
|
|
2010-02-17 10:57:05 -08:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2008-01-25 11:12:21 -06:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2007-01-26 14:26:21 +01:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-30 15:21:33 -08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-26 14:26:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-19 12:39:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-26 14:26:21 +01:00
|
|
|
|
2012-05-18 21:27:43 +02:00
|
|
|
|
2006-10-18 16:41:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-18 21:27:43 +02:00
|
|
|
|
|
|
|
|
|
2006-10-18 16:41:51 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-18 21:27:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2012-07-19 12:39:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-17 21:50:23 +01:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-18 16:41:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-28 09:50:12 -08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-25 11:12:21 -06:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-11-21 22:02:54 +01:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-14 15:15:12 +02:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
2006-07-01 22:09:35 -04:00
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
2007-03-13 15:59:31 +01:00
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2009-05-04 19:48:32 +02:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2010-02-08 09:45:12 -05:00
|
|
|
|
2008-05-02 06:02:41 +02:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-05-02 06:02:41 +02:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-14 15:15:12 +02:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-14 15:15:12 +02:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2005-11-21 14:53:03 -08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-12 20:07:22 +01:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-25 17:15:29 -07:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2012-04-25 17:15:29 -07:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-10 14:41:41 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 11:50:02 -08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2013-11-12 20:07:22 +01:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 11:50:02 -08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2009-11-22 01:28:52 +08:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2008-01-25 11:12:21 -06:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
|
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2006-07-01 22:08:49 -04:00
|
|
|
|
2012-01-24 14:35:13 -05:00
|
|
|
|
2005-11-16 13:41:28 -08:00
|
|
|
|
2008-01-25 11:12:21 -06:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2008-08-12 14:34:14 -04:00
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
2011-06-18 20:22:23 +02:00
|
|
|
|
2008-08-12 14:34:14 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-07 13:04:51 -04:00
|
|
|
|
|
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-14 10:06:17 -08:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2006-07-01 22:09:35 -04:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2006-07-01 22:13:04 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-04 11:51:54 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2007-05-04 11:51:54 -04:00
|
|
|
|
2006-07-01 22:13:50 -04:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
|
|
|
|
|
2007-05-22 11:50:17 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2007-05-04 11:52:20 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2006-07-01 22:13:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:13:50 -04:00
|
|
|
|
|
|
|
|
|
2010-02-12 12:21:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-19 23:49:48 +02:00
|
|
|
|
2010-02-12 12:21:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-04 11:53:03 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2007-05-22 11:50:17 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
|
|
|
|
|
2008-08-12 14:33:27 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2012-01-02 15:11:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2007-05-22 11:50:17 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-08-12 14:33:27 -04:00
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:13:50 -04:00
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-18 20:22:23 +02:00
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2008-08-12 14:33:59 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:10:15 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
2007-05-30 15:38:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2013-10-18 11:17:21 -04:00
|
|
|
|
|
|
|
|
|
2007-05-30 15:38:16 -04:00
|
|
|
|
|
|
|
|
|
2012-01-02 15:11:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-30 15:38:16 -04:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
|
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2007-05-30 15:38:16 -04:00
|
|
|
|
2008-06-23 16:00:40 -04:00
|
|
|
|
2006-07-01 22:12:19 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-15 12:08:53 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2007-03-09 15:41:13 -05:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
2010-04-09 16:03:43 -04:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
2007-03-27 13:33:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
2010-04-09 16:03:43 -04:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
2008-08-12 14:33:27 -04:00
|
|
|
|
2011-06-15 16:27:43 -04:00
|
|
|
|
|
|
|
|
|
2011-08-19 23:49:48 +02:00
|
|
|
|
2011-06-15 16:27:43 -04:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-15 16:27:43 -04:00
|
|
|
|
2006-11-14 10:06:17 -08:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
2012-03-28 15:56:17 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-15 16:27:43 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
2013-04-01 13:04:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2007-09-10 11:34:26 -04:00
|
|
|
|
2007-04-05 16:03:49 -04:00
|
|
|
|
2007-09-10 11:34:26 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-05 16:03:49 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2007-03-27 13:33:59 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-27 13:33:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-10 11:34:26 -04:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
2006-07-01 22:13:04 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-25 16:39:18 -05:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
2010-11-15 15:57:58 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2007-03-27 13:33:59 -04:00
|
|
|
|
2008-03-03 16:08:34 -08:00
|
|
|
|
2008-03-06 17:00:58 -05:00
|
|
|
|
|
|
|
|
|
2006-07-01 22:11:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:20:11 -04:00
|
|
|
|
|
|
|
|
|
2010-06-22 16:14:48 -04:00
|
|
|
|
2010-04-02 13:20:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-06-22 16:14:48 -04:00
|
|
|
|
2010-04-02 13:20:11 -04:00
|
|
|
|
|
|
|
|
|
2010-06-22 16:14:48 -04:00
|
|
|
|
2010-04-02 13:20:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:20:11 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
2012-01-11 08:38:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
2012-01-11 08:38:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
2012-01-11 08:38:35 +01:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2012-01-05 15:39:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-11 08:38:35 +01:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
2012-01-11 08:38:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-12 11:30:38 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-27 16:43:25 +08:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-01-08 12:57:14 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:56:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:22:09 -04:00
|
|
|
|
2010-01-08 12:56:54 -05:00
|
|
|
|
2010-04-02 13:22:09 -04:00
|
|
|
|
2010-01-08 12:56:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:22:09 -04:00
|
|
|
|
2010-01-08 12:56:54 -05:00
|
|
|
|
2010-04-02 13:22:09 -04:00
|
|
|
|
2010-01-08 12:56:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-09-25 17:00:56 -07:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:56:19 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
|
|
|
|
|
2010-11-15 15:57:30 -05:00
|
|
|
|
2010-11-15 15:57:51 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-25 17:00:56 -07:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:56:19 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-11-20 11:38:46 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-30 17:06:45 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-09-25 17:00:56 -07:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-11-15 15:57:30 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:57:51 -05:00
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
2010-11-15 15:57:30 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:57:51 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:57:30 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2006-09-25 17:00:56 -07:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-30 17:06:45 -05:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
2013-08-02 20:10:04 +02:00
|
|
|
|
|
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-29 11:00:01 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-06 21:07:20 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2008-11-12 16:19:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:57:30 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:18:50 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:18:50 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:18:50 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:18:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 15:05:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-04-02 13:18:50 -04:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-18 19:55:36 +01:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
2011-11-04 00:52:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-23 10:45:54 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-29 22:03:07 -08:00
|
|
|
|
2014-05-23 10:45:54 -04:00
|
|
|
|
2010-12-29 22:03:07 -08:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-18 19:55:36 +01:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2011-03-18 19:55:36 +01:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
2010-11-15 15:56:54 -05:00
|
|
|
|
2010-11-15 15:57:51 -05:00
|
|
|
|
PM / Runtime: Rework the "runtime idle" helper routine
The "runtime idle" helper routine, rpm_idle(), currently ignores
return values from .runtime_idle() callbacks executed by it.
However, it turns out that many subsystems use
pm_generic_runtime_idle() which checks the return value of the
driver's callback and executes pm_runtime_suspend() for the device
unless that value is not 0. If that logic is moved to rpm_idle()
instead, pm_generic_runtime_idle() can be dropped and its users
will not need any .runtime_idle() callbacks any more.
Moreover, the PCI, SCSI, and SATA subsystems' .runtime_idle()
routines, pci_pm_runtime_idle(), scsi_runtime_idle(), and
ata_port_runtime_idle(), respectively, as well as a few drivers'
ones may be simplified if rpm_idle() calls rpm_suspend() after 0 has
been returned by the .runtime_idle() callback executed by it.
To reduce overall code bloat, make the changes described above.
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
2013-06-03 21:49:52 +02:00
|
|
|
|
|
|
|
|
|
2010-01-08 12:57:28 -05:00
|
|
|
|
|
|
|
|
|
2011-09-23 14:19:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
usb: Don't enable USB 2.0 Link PM by default.
How it's supposed to work:
--------------------------
USB 2.0 Link PM is a lower power state that some newer USB 2.0 devices
support. USB 3.0 devices certified by the USB-IF are required to
support it if they are plugged into a USB 2.0 only port, or a USB 2.0
cable is used. USB 2.0 Link PM requires both a USB device and a host
controller that supports USB 2.0 hardware-enabled LPM.
USB 2.0 Link PM is designed to be enabled once by software, and the host
hardware handles transitions to the L1 state automatically. The premise
of USB 2.0 Link PM is to be able to put the device into a lower power
link state when the bus is idle or the device NAKs USB IN transfers for
a specified amount of time.
...but hardware is broken:
--------------------------
It turns out many USB 3.0 devices claim to support USB 2.0 Link PM (by
setting the LPM bit in their USB 2.0 BOS descriptor), but they don't
actually implement it correctly. This manifests as the USB device
refusing to respond to transfers when it is plugged into a USB 2.0 only
port under the Haswell-ULT/Lynx Point LP xHCI host.
These devices pass the xHCI driver's simple test to enable USB 2.0 Link
PM, wait for the port to enter L1, and then bring it back into L0. They
only start to break when L1 entry is interleaved with transfers.
Some devices then fail to respond to the next control transfer (usually
a Set Configuration). This results in devices never enumerating.
Other mass storage devices (such as a later model Western Digital My
Passport USB 3.0 hard drive) respond fine to going into L1 between
control transfers. They ACK the entry, come out of L1 when the host
needs to send a control transfer, and respond properly to those control
transfers. However, when the first READ10 SCSI command is sent, the
device NAKs the data phase while it's reading from the spinning disk.
Eventually, the host requests to put the link into L1, and the device
ACKs that request. Then it never responds to the data phase of the
READ10 command. This results in not being able to read from the drive.
Some mass storage devices (like the Corsair Survivor USB 3.0 flash
drive) are well behaved. They ACK the entry into L1 during control
transfers, and when SCSI commands start coming in, they NAK the requests
to go into L1, because they need to be at full power.
Not all USB 3.0 devices advertise USB 2.0 link PM support. My Point
Grey USB 3.0 webcam advertises itself as a USB 2.1 device, but doesn't
have a USB 2.0 BOS descriptor, so we don't enable USB 2.0 Link PM. I
suspect that means the device isn't certified.
What do we do about it?
-----------------------
There's really no good way for the kernel to test these devices.
Therefore, the kernel needs to disable USB 2.0 Link PM by default, and
distros will have to enable it by writing 1 to the sysfs file
/sys/bus/usb/devices/../power/usb2_hardware_lpm. Rip out the xHCI Link
PM test, since it's not sufficient to detect these buggy devices, and
don't automatically enable LPM after the device is addressed.
This patch should be backported to kernels as old as 3.11, that
contain the commit a558ccdcc71c7770c5e80c926a31cfe8a3892a09 "usb: xhci:
add USB2 Link power management BESL support". Without this fix, some
USB 3.0 devices will not enumerate or work properly under USB 2.0 ports
on Haswell-ULT systems.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
2013-09-30 17:26:28 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-09-23 14:19:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-29 23:47:05 +01:00
|
|
|
|
2006-08-30 15:47:02 -04:00
|
|
|
|
2006-07-01 22:08:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|