[RFC v2 0/9] USB 3.0 hub suspend

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

 



After this patchset, USB 3.0 hub suspend is solid, as far as my tests go
with the latest TI hub prototype.

Changes since v1:
 - Actually enable the xHCI host to pass up Device Notification events.
 - Refactor the hub port remote wakeup checking into a new function.
 - Remove the debounce delay on link change.
 - Handle USB 3.0 device resume of the second-tier suspended hub
   (thank you to TI for sending two hubs)
 - Add the wakeup_bits field to the usb_hub structure to indicate a
   device has initiated resume on a port, since USB 3.0 hubs won't set
   their port link state change bits on a device-initiated resume.

Comments are appreciated.

Sarah Sharp

The following changes since commit 5f586bec0f37591d609623c69b3381fd9e0d010d:

  xhci: Fix USB 3.0 device restart on resume. (2012-01-25 14:14:08 -0800)

are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git usb3-hub-suspend

Sarah Sharp (9):
      USB: Remove duplicate USB 3.0 hub feature #defines.
      xHCI: Kick khubd when USB3 resume really completes.
      USB/xhci: Enable remote wakeup for USB3 devices.
      USB: Suspend functions before putting dev into U3.
      USB/xHCI: Enable USB 3.0 hub remote wakeup.
      USB: Refactor hub remote wake handling.
      USB/xHCI: Support device-initiated USB 3.0 resume.
      USB: Set wakeup bits for all children hubs.
      USB: Turn on auto-suspend for USB 3.0 hubs.

 drivers/usb/core/hub.c       |  172 ++++++++++++++++++++++++++++++------------
 drivers/usb/host/xhci-hub.c  |   41 ++++++++++
 drivers/usb/host/xhci-mem.c  |   11 +++-
 drivers/usb/host/xhci-ring.c |   74 +++++++++++++++---
 drivers/usb/host/xhci.h      |    1 +
 include/linux/usb/ch11.h     |   15 ++--
 include/linux/usb/hcd.h      |    2 +
 7 files changed, 248 insertions(+), 68 deletions(-)
--
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