[GIT PULL] xhci: Streams and UAS cleanups, misc cleanups for 3.15

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

 



The following changes since commit 3c1b2c3ecd3122fe6dded7b012f74021144d95b2:

  USB: sisusb: Use static const, fix typo (2014-03-03 08:54:30 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git tags/for-usb-next-2014-03-06

for you to fetch changes up to 7969943789df1196faa9ba67518d83fd93e4f9f6:

  xhci: add the meaningful IRQ description if it is empty (2014-03-06 13:46:55 -0800)

----------------------------------------------------------------
xhci: Streams and UAS cleanups, misc cleanups for 3.15

Hi Greg,

Here's 76 patches to queue to usb-next for 3.15.

The bulk of this rather large pull request is the UAS driver cleanup, the
xHCI streams fixes, and the new userspace API for usbfs to be able to use
and alloc/free bulk streams.  I've hammered on these changes, and the UAS
driver seems solid.  The performance numbers are pretty spiffy too:

root@xanatos:~# echo 3 > /proc/sys/vm/drop_caches; dd if=/dev/sdb of=/dev/null bs=4k count=1000M iflag=count_bytes
256000+0 records in
256000+0 records out
1048576000 bytes (1.0 GB) copied, 3.28557 s, 319 MB/s

That's about 100 MB/s faster than my fastest Bulk-only-Transport mass
storage drive.

There's a couple of miscellaneous cleanup patches and non-urgent bug fixes
in here as well:

7969943789df xhci: add the meaningful IRQ description if it is empty
bcffae7708eb xhci: Prevent runtime pm from autosuspending during initialization
e587b8b270d3 xhci: make warnings greppable
25cd2882e2fc usb/xhci: Change how we indicate a host supports Link PM.

Sarah Sharp

----------------------------------------------------------------
Adrian Huang (1):
      xhci: add the meaningful IRQ description if it is empty

Gerd Hoffmann (6):
      xhci: fix usb3 streams
      uas: properly reinitialize in uas_eh_bus_reset_handler
      uas: make work list per-device
      uas: add dead request list
      uas: replace BUG_ON() + WARN_ON() with WARN_ON_ONCE()
      uas: remove BROKEN

Hans de Goede (62):
      xhci: Free streams when they are still allocated on a set_interface call
      xhci: Check size rather then number of streams when allocating stream ctxs
      xhci: For streams the css flag most be read from the stream-ctx on ep stop
      xhci: Set SCT field for Set TR dequeue on streams
      xhci: For streams the dequeue ptr must be read from the stream ctx
      xhci: use usb_ss_max_streams in xhci_check_streams_endpoint
      usb-core: Fix usb_free_streams return value documentation
      usb-core: Move USB_MAXENDPOINTS definitions to usb.h
      usb-core: Track if an endpoint has streams
      usb-core: Free bulk streams on interface release
      usbfs: Kill urbs on interface before doing a set_interface
      usbfs: proc_do_submiturb use a local variable for number_of_packets
      usbfs: Add support for bulk stream ids
      usbfs: Add ep_to_host_endpoint helper function
      usbfs: Add support for allocating / freeing streams
      uas: Urbs must be anchored before submitting them
      uas: Properly set interface to altsetting 0 on probe failure
      uas: Avoid unnecessary unlock / lock calls around unlink_data_urbs
      uas: uas_alloc_cmd_urb: drop unused stream_id parameter
      uas: Fix uas not working when plugged into an ehci port
      uas: Fix reset locking
      uas: Fix reset handling for externally triggered reset
      uas: s/response_ui/response_iu/
      uas: Fix response iu struct definition
      uas: Pack iu struct definitions
      uas: Use all available stream ids
      uas: Add a uas_find_uas_alt_setting helper function
      uas: Move uas detect code to uas-detect.h
      xhci: xhci_mem_cleanup: make sure cmd_ring_reserved_trbs really is 0
      xhci: The trb_address_map radix tree expects 1KB segment memory aligment
      xhci: Handle MaxPSASize == 0
      usb: Clear host_endpoint->streams when implicitly freeing streams
      usb: Reset USB-3 devices on USB-3 link bounce
      uas: Add the posibilty to blacklist uas devices from using the uas driver
      usb-storage: Don't bind to uas devices if the uas driver is enabled
      usb-storage: Modify and export adjust_quirks so that it can be used by uas
      uas: Honor no-uas quirk set in usb-storage's quirks module parameter
      uas: Add uas_find_endpoints() helper function
      uas: Fix bounds check in uas_find_endpoints
      uas: Move uas_find_endpoints to uas-detect.h
      uas: Drop fixed endpoint config handling
      uas: Verify endpoint descriptors from uas_use_uas_driver()
      uas: Not being able to alloc streams when connected through usb-3 is an error
      uas: task_mgmt: Kill the sense-urb if we fail to submit the cmd urb
      uas: Don't allow more then one task to run at the same time
      uas: Use GFP_NOIO rather then GFP_ATOMIC where possible
      uas: Add suspend/resume support
      uas: Reset device on reboot
      uas: Fix task-management not working when connected over USB-2
      uas: uas_alloc_data_urb: Remove unnecessary use_streams check
      uas: Properly complete inflight commands on bus-reset or disconnect
      uas: add uas_mark_cmd_dead helper function
      uas: cmdinfo: use only one list head
      uas: Fix command / task mgmt submission racing with disconnect
      uas: Fix memory management
      uas: Clear cmdinfo on command queue-ing
      uas: Use the right error codes for different kinds of errors
      uas: Improve error reporting
      uas: Add some data in/out ready iu sanity checks
      uas: Make sure sg elements are properly aligned
      uas: Add Hans de Goede as uas maintainer
      uas: Remove comment about registering a uas scsi controller for each usb bus

Mathias Nyman (1):
      xhci: Prevent runtime pm from autosuspending during initialization

Oliver Neukum (2):
      xhci: make warnings greppable
      storage: accept some UAS devices if streams are unavailable

Sarah Sharp (4):
      usb/xhci: Change how we indicate a host supports Link PM.
      xhci: Remove segments from radix tree on failed insert.
      xhci: Refactor command watchdog and fix split string.
      xhci: Kill streams URBs when the host dies.

 MAINTAINERS                        |    3 +-
 drivers/usb/core/config.c          |    1 -
 drivers/usb/core/devio.c           |  158 ++++++++-
 drivers/usb/core/driver.c          |   23 ++-
 drivers/usb/core/hcd.c             |   37 ++-
 drivers/usb/core/hub.c             |   51 ++-
 drivers/usb/core/message.c         |    7 +-
 drivers/usb/host/xhci-hub.c        |    8 +-
 drivers/usb/host/xhci-mem.c        |  212 ++++++++---
 drivers/usb/host/xhci-pci.c        |   18 +-
 drivers/usb/host/xhci-plat.c       |    3 +
 drivers/usb/host/xhci-ring.c       |  146 +++++---
 drivers/usb/host/xhci.c            |   33 ++-
 drivers/usb/host/xhci.h            |    5 +-
 drivers/usb/storage/Kconfig        |    2 +-
 drivers/usb/storage/uas-detect.h   |   96 +++++
 drivers/usb/storage/uas.c          |  687 +++++++++++++++++++++++-------------
 drivers/usb/storage/unusual_devs.h |    5 +
 drivers/usb/storage/unusual_uas.h  |   52 +++
 drivers/usb/storage/usb.c          |   26 +-
 drivers/usb/storage/usb.h          |    3 +
 include/linux/usb.h                |    4 +
 include/linux/usb/hcd.h            |    1 +
 include/linux/usb/uas.h            |   14 +-
 include/linux/usb_usual.h          |    6 +-
 include/uapi/linux/usbdevice_fs.h  |   12 +-
 26 files changed, 1182 insertions(+), 431 deletions(-)
 create mode 100644 drivers/usb/storage/uas-detect.h
 create mode 100644 drivers/usb/storage/unusual_uas.h
--
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