[RFC v4 00/24] xHCI split roothub and USB 3.0 hub support for 2.6.39

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

 



This is the fourth revision of the patchset to add USB 3.0 hub support
to the USB core, and split the xHCI roothubs into two hubs: a USB 2.0
roothub that handles LS/FS/HS devices and a USB 3.0 roothub that handles
SuperSpeed devices.

Updated patches from RFC v3:
  usb: Make USB 3.0 roothub have a SS EP comp descriptor.
   - Remove unnecessary extra column

  usb: Make core allocate resources per PCI-device.
   - Free bandwidth_mutex for the primary HCD only
   - Make sure usb_hc_died() handles both the primary and secondary HCD

  USB: Set usb_hcd->state and flags for shared roothubs.
   - Update the patch based on Alan's patch to clean up hcd->state

  xhci: Register second xHCI roothub.
   - Set hcd->has_tt and hcd->speed for the USB 2.0 roothub in the xHCI
     driver.  This removes the last of the dependencies between the xHCI
     driver and the USB PCI host probe function.
   - Remove old reference to hcd->bcdUSB

New patches for RFC v4:
  xhci: Return canceled URBs immediately when host is halted.
   - This patch, combined with the updated USB core PCI resources patch,
     gets rid of the oops I was seeing when I unload the xHCI driver
     when a mouse is plugged in.

I think this addresses all the feedback I got on Monday.  Unless anyone
has any serious objections, I'll submit these patches to Greg KH
tomorrow.

Sarah Sharp


John Youn (1):
  USB 3.0 Hub Changes

Sarah Sharp (23):
  USB: Clear "warm" port reset change.
  usb: Make USB 3.0 roothub have a SS EP comp descriptor.
  xhci: Modify check for TT info.
  xhci: Always use usb_hcd in URB instead of converting xhci_hcd.
  xhci: Change hcd_priv into a pointer.
  usb: Make usb_hcd_pci_probe labels more descriptive.
  usb: Refactor irq enabling out of usb_add_hcd()
  usb: Change usb_hcd->bandwidth_mutex to a pointer.
  usb: Store bus type in usb_hcd, not in driver flags.
  usb: Make core allocate resources per PCI-device.
  USB: Set usb_hcd->state and flags for shared roothubs.
  xhci: Index with a port array instead of PORTSC addresses.
  xhci: Refactor bus suspend state into a struct.
  xhci: Change xhci_find_slot_id_by_port() API.
  xhci: Register second xHCI roothub.
  xhci: Return a USB 3.0 hub descriptor for USB3 roothub.
  xhci: Limit roothub ports to 15 USB3 & 31 USB2 ports.
  xhci: Make roothub functions deal with device removal.
  xhci: Fix re-init on power loss after resume.
  xhci: Fixes for suspend/resume of shared HCDs.
  xhci: Return canceled URBs immediately when host is halted.
  USB: Remove bogus USB_PORT_STAT_SUPER_SPEED symbol.
  USB: Disable auto-suspend for USB 3.0 hubs.

 drivers/staging/usbip/vhci_hcd.c |    4 +-
 drivers/usb/core/hcd-pci.c       |   47 ++++--
 drivers/usb/core/hcd.c           |  194 +++++++++++++++-----
 drivers/usb/core/hub.c           |  125 +++++++++----
 drivers/usb/core/message.c       |   22 ++--
 drivers/usb/gadget/dummy_hcd.c   |    4 +-
 drivers/usb/host/ehci-hub.c      |    4 +-
 drivers/usb/host/imx21-hcd.c     |    4 +-
 drivers/usb/host/isp116x-hcd.c   |    4 +-
 drivers/usb/host/isp1362-hcd.c   |    4 +-
 drivers/usb/host/isp1760-hcd.c   |    4 +-
 drivers/usb/host/ohci-hub.c      |   11 +-
 drivers/usb/host/oxu210hp-hcd.c  |    4 +-
 drivers/usb/host/r8a66597-hcd.c  |    5 +-
 drivers/usb/host/sl811-hcd.c     |    4 +-
 drivers/usb/host/u132-hcd.c      |   11 +-
 drivers/usb/host/xhci-hub.c      |  363 +++++++++++++++++++++++++++-----------
 drivers/usb/host/xhci-mem.c      |   93 +++++++++-
 drivers/usb/host/xhci-pci.c      |  124 ++++++++++++-
 drivers/usb/host/xhci-ring.c     |  114 ++++++++++--
 drivers/usb/host/xhci.c          |  104 +++++++++--
 drivers/usb/host/xhci.h          |   39 +++--
 drivers/usb/musb/musb_virthub.c  |    4 +-
 drivers/usb/wusbcore/rh.c        |    4 +-
 include/linux/usb/ch11.h         |   42 ++++-
 include/linux/usb/hcd.h          |   13 ++-
 26 files changed, 1036 insertions(+), 315 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