[PATCH 0/7] USB: add runtime PM for PCI host controllers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg:

The following series of patches builds up to implementing runtime PM
for PCI-based USB host controllers.  (xHCI doesn't have the necessary
suspend/resume support yet, but when it gets added it should work okay
with this stuff.)

By default, autosuspend for host controllers is forbidden.  The user
has to allow it by writing "auto" to the controller's power/control
sysfs attribute, for example:

	echo auto >/sys/bus/usb/devices/usb2/../power/control

The first six patches do some refactoring and rearranging of the code 
in hcd-pci.c, as well as making a slight change to the HCD driver 
interface, handling wakeup races, and adding support for Intel's 
vendor-specific UHCI wakeup flags.  The last patch finally adds the 
runtime PM support.

The last patch depends on another change which has already been
accepted into the PCI development tree.  It can be found as commit
a63bf9b20d4694f348f33a285e4ca5a9b65eb235 (PCI: change device runtime PM
settings for probe and remove) in linux-next.  Is it possible for you 
to import that commit into the gregkh-usb tree, so that everything will 
remain consistent?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux