[PATCH 0/8] Allow reset of configured devices under xHCI

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

 



This set of patches allows configured devices to be reset when they are
under an xHCI host controller.  Previously, this was disabled because
the host required a Reset Device command after a USB device was
successfully reset.

The first patch is a bug fix that should be applied to the stable tree.
The next four patches are code refactoring.  The sixth patch adds the
ability to disable a root port under xHCI (which is necessary if a port
reset fails a number of times).  The seventh patch adds the meat of the
Reset Device command to the xHCI driver, and the eighth patch adds
support to the USB core to call down to the driver after a device reset.

These patches should be applied after Julia Lawall's bug fix:
	usb-xhci-mem.c-introduce-missing-kfree.patch

This version of the patch changes the memory flags while allocating the
Reset Device command.  Oliver pointed out we need to use GFP_NOIO, since
storage devices may be reset as part of error handling.

Sarah Sharp (8):
  xhci: Fix error path when configuring endpoints.
  xhci: Refactor code to free or cache endpoint rings.
  xhci: Allow allocation of commands without input contexts.
  xhci: Refactor test for vendor-specific completion codes.
  xhci: Refactor code to clear port change bits.
  xhci: Allow roothub ports to be disabled.
  xhci: Notify the xHC when a device is reset.
  USB: Add call to notify xHC of a device reset.

 drivers/usb/core/hcd.h       |    1 +
 drivers/usb/core/hub.c       |   19 +++--
 drivers/usb/host/xhci-dbg.c  |   19 ++++++
 drivers/usb/host/xhci-hcd.c  |  148 ++++++++++++++++++++++++++++++++++++------
 drivers/usb/host/xhci-hub.c  |   65 ++++++++++++++----
 drivers/usb/host/xhci-mem.c  |   43 +++++++++++--
 drivers/usb/host/xhci-pci.c  |    1 +
 drivers/usb/host/xhci-ring.c |   41 ++++++++++--
 drivers/usb/host/xhci.h      |   11 +++-
 9 files changed, 292 insertions(+), 56 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