[GIT PULL] usb patches for v4.8

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

 



Hi Greg,

here's the big pull request for gadget API and related UDC drivers.

Nothing really scary lately. Patches have been in linux-next for a while
without outstanding reports.

Let me know if you want any changes, but things seem to be calming
down. I have, however, a few patches pending in my linux-usb inbox but I
won't have time to really work on them in time for current merge window,
so I decided to cut my tree short and send you a pull request.

Anyway, here's the good stuff

The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e:

  Linux 4.7-rc4 (2016-06-19 21:30:02 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.8

for you to fetch changes up to 15e4292a2d21e9997fdb2b8c014cc461b3f268f0:

  usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable() (2016-06-29 11:14:44 +0300)

----------------------------------------------------------------
usb: patches for v4.8 merge window

Here's the big pull request for Peripheral stack and
all related drivers.

This time around with 109 non-merge commits mostly
concentrated on drivers/usb/gadget/udc (41.5%) and
drivers/usb/dwc3 (28.1%).

There's a big rework on dwc3's transfer handling
which gave us almost 3x faster USB3 speeds with Mass
Storage on a particular test scenario I measured. We
are also removing platform_data from dwc3 after
converting all users to built-in properties instead.

For the Gadget API, we're just adding tracepoints to
aid debugging activities.

Other than these, there's the usual set of spelling
fixes, minor bug fixes and sparse warnings cleanups.

----------------------------------------------------------------
Alexandre Belloni (1):
      usb: gadget: udc: atmel: Also get regmap for at91sam9x5-pmc

Arnd Bergmann (3):
      usb: pxa27x_udc: remove unused function argument
      usb: phy: move msm_hsusb.h into driver
      USB: dwc2-usb: add USB_GADGET dependency

Baolin Wang (2):
      usb: dwc3: gadget: Add the suspend state checking when stopping gadget
      dwc3: gadget: Implement the suspend entry event handler

Ben Dooks (1):
      usb: renesas_usbhs: make usbhs_write32() static

Colin Ian King (1):
      usb: gadget: bdc: fix spelling mistake: "allocted" -> "allocated"

Dan Carpenter (1):
      usb: gadget: f_fs: check for allocation failure

Felipe Balbi (48):
      usb: gadget: storage: get rid of fsg_num_buffers_validate()
      usb: gadget: storage: increase maximum storage num buffers
      usb: dwc3: gadget: re-factor ->udc_start and ->udc_stop
      usb: dwc3: gadget: fix gadget suspend/resume
      usb: dwc3: core: get rid of DWC3_PM_OPS macro
      usb: dwc3: gadget: prepare TRBs on update transfers too
      usb: dwc3: gadget: simplify __dwc3_gadget_kick_transfer()
      usb: dwc3: gadget: rely on sg_is_last() and list_is_last()
      usb: dwc3: gadget: remove udelay(1) when sending ep cmds
      usb: dwc3: gadget: return 0 if we try to Wakeup in superspeed
      usb: dwc3: gadget: split __dwc3_gadget_kick_transfer()
      usb: dwc3: gadget: initialize NUMP based on RxFIFO Size
      usb: dwc3: gadget: pass dep as argument to endpoint command
      usb: dwc3: gadget: add a pointer to endpoint registers
      usb: dwc3: core: move fladj to dwc3 structure
      usb: dwc3: core: re-factor init and exit paths
      usb: dwc3: core: simplify suspend/resume operations
      usb: dwc3: gadget: hold gadget IRQ in dwc->irq_gadget
      usb: dwc3: gadget: only resume USB2 PHY in <=HIGHSPEED
      usb: dwc3: gadget: fix for possible endpoint disable race
      usb: dwc3: implement runtime PM
      usb: dwc3: pci: add Power Management dummy hooks
      usb: dwc3: gadget: add a per-endpoint request queue lock
      usb: dwc3: gadget: no more tracking endpoint type with its name
      usb: dwc3: trace: fully decode IRQ events
      usb: dwc3: gadget: fix trace output when command fails
      usb: dwc3: gadget: loop while (timeout)
      usb: dwc3: trace: print ep cmd status with a single trace
      usb: dwc3: gadget: single return point on generic commands
      usb: dwc3: gadget: remove udelay() from generic cmd
      usb: dwc3: gadget: improve gcmd trace
      usb: dwc3: remove trailing newline from dwc3_trace
      usb: dwc3: gadget: update transfer needs transfer resource
      usb: dwc3: gadget: keep track of allocated and queued reqs
      usb: dwc3: gadget: halt and stop based HWO bit
      usb: dwc3: gadget: use allocated/queued reqs for LST bit
      usb: dwc3: gadget: disable XFER_NOT_READY
      usb: dwc3: gadget: start Bulk endpoints more frequently
      usb: dwc3: gadget: decrement trbs_left for each sg entry
      usb: gadget: move gadget API functions to udc-core
      usb: gadget: add tracepoints to the gadget API
      usb: dwc3: gadget: rename 'ignore' argument to 'modify'
      usb: dwc3: pci: add dr-mode for Intel dwc3
      usb: dwc3: core: fixup dr_mode fallback selection
      usb: dwc3: gadget: remove udelay() from run_stop()
      usb: dwc3: gadget: avoid while(1) in run_stop()
      usb: dwc3: gadget: simplify run_stop() break condition
      usb: dwc3: gadget: issue ENDTRANSFER conditional on resource_index

Hans de Goede (1):
      USB: Fix of_usb_get_dr_mode_by_phy with a shared phy block

Heikki Krogerus (2):
      usb: dwc3: pci: use build-in properties instead of platform data
      usb: dwc3: remove handling of platform data

Iago Abal (1):
      usb: gadget: pch_udc: reorder spin_[un]lock to avoid deadlock

Janusz Dziedzic (1):
      usb: dwc3: trace: pretty-print TRB's ctrl field

John Youn (13):
      usb: dwc3: ep0: Fix endianness of wIndex passed to dwc3_wIndex_to_dep
      usb: dwc3: ep0: Use the correct type for SET_SEL data
      usb: dwc3: gadget: Fix usage of bitwise operator
      usb: dwc3: Endianness issue on dwc3_log_ctrl
      usb: dwc3: gadget: Simplify skipping of link TRBs
      usb: dwc3: gadget: Initialize the TRB ring
      usb: dwc3: gadget: Don't prepare TRBs if no space
      usb: dwc3: gadget: Account for max size in TRB space
      usb: dwc3: gadget: Account for link TRB in TRBs left
      usb: dwc3: gadget: Handle TRB index 0 when full or empty
      usb: dwc3: gadget: Fix truncated cast issue
      usb: dwc3: Use the correct speed macros for DSTS/DCFG
      usb: dwc3: Fix DWC3_USB31_REVISION_110A definition

Konrad Leszczynski (1):
      usb: dwc3: fix for the isoc transfer EP_BUSY flag

Michal Nazarewicz (6):
      usb: gadget: fix unused-but-set-variale warnings
      usb: gadget: m66592: fix unused-but-set-variable warnings
      usb: gadget: r8a66597: fix unused-but-set-variable warnings
      usb: gadget: mv_u3d: fix unused-but-set-variable warnings
      usb: gadget: f_fs: printk error when excess data is dropped on read
      usb: gadget: f_fs: buffer data from ‘oversized’ OUT requests

Nicolas Iooss (1):
      usb: dwc2: add printf attribute to cat_printf()

Roger Quadros (6):
      usb: dwc3: omap: use request_threaded_irq()
      usb: dwc3: omap: Mark the interrupt handler as shared
      usb: dwc3: omap: Don't set POWERPRESENT
      usb: dwc3: omap: Pass VBUS and ID events transparently
      usb: dwc3: fix runtime PM in error path
      usb: dwc3: core: cleanup IRQ resources

Sandhya Bankar (2):
      usb: phy: omap-otg: Space required after that ','.
      usb: Use (foo *) instead of (foo*).

Tim Harvey (1):
      usb: gadget: net2280: add USB2380 support

Vardan Mikayelyan (13):
      usb: dwc2: Add missing register field definitions
      usb: dwc2: gadget: Remove unnecessary line
      usb: dwc2: gadget: Remove unnecessary code
      usb: dwc2: gadget: Corrected field names
      usb: dwc2: gadget: Fix transfer stop programming for out endpoint
      usb: dwc2: gadget: Add dwc2_gadget_incr_frame_num()
      usb: dwc2: gadget: Corrected interval calculation
      usb: dwc2: gadget: Add dwc2_gadget_read_ep_interrupts function
      usb: dwc2: gadget: Add dwc2_gadget_start_next_request function
      usb: dwc2: gadget: Add OUTTKNEPDIS and NAKINTRPT handlers
      usb: dwc2: gadget: Add Incomplete ISO IN/OUT Interrupt handlers
      usb: dwc2: gadget: Add EP disabled interrupt handler
      usb: dwc2: gadget: Final fixes for BDMA ISOC

William Wu (1):
      usb: dwc3: add DWC3_GUCTL1 reg for debug

Yoshihiro Shimoda (3):
      usb: renesas_usbhs: show error code when probe failed
      usb: renesas_usbhs: fix NULL pointer dereference in xfer_work()
      usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable()

 drivers/phy/Kconfig                          |    1 +
 drivers/power/Kconfig                        |    1 +
 drivers/usb/common/common.c                  |   26 +-
 drivers/usb/dwc2/Kconfig                     |    1 +
 drivers/usb/dwc2/core.h                      |    8 +-
 drivers/usb/dwc2/gadget.c                    |  574 +++++++---
 drivers/usb/dwc2/hcd_queue.c                 |    3 +-
 drivers/usb/dwc2/hw.h                        |   14 +
 drivers/usb/dwc3/core.c                      |  388 ++++---
 drivers/usb/dwc3/core.h                      |   59 +-
 drivers/usb/dwc3/debug.h                     |  140 ++-
 drivers/usb/dwc3/debugfs.c                   |  191 +---
 drivers/usb/dwc3/dwc3-omap.c                 |   53 +-
 drivers/usb/dwc3/dwc3-pci.c                  |  161 ++-
 drivers/usb/dwc3/ep0.c                       |   26 +-
 drivers/usb/dwc3/gadget.c                    |  863 ++++++++-------
 drivers/usb/dwc3/gadget.h                    |    4 +-
 drivers/usb/dwc3/host.c                      |   43 +-
 drivers/usb/dwc3/io.h                        |    7 +-
 drivers/usb/dwc3/platform_data.h             |   53 -
 drivers/usb/dwc3/trace.h                     |   96 +-
 drivers/usb/gadget/Kconfig                   |    2 +-
 drivers/usb/gadget/config.c                  |    2 +-
 drivers/usb/gadget/function/f_fs.c           |  192 +++-
 drivers/usb/gadget/function/f_mass_storage.c |   22 +-
 drivers/usb/gadget/function/u_serial.c       |    3 +-
 drivers/usb/gadget/legacy/g_ffs.c            |   15 +-
 drivers/usb/gadget/udc/Kconfig               |    4 +-
 drivers/usb/gadget/udc/Makefile              |    5 +
 drivers/usb/gadget/udc/amd5536udc.c          |    9 +-
 drivers/usb/gadget/udc/atmel_usba_udc.c      |    2 +
 drivers/usb/gadget/udc/bdc/bdc_cmd.c         |    3 -
 drivers/usb/gadget/udc/bdc/bdc_ep.c          |    6 +-
 drivers/usb/gadget/udc/core.c                | 1523 ++++++++++++++++++++++++++
 drivers/usb/gadget/udc/dummy_hcd.c           |    5 -
 drivers/usb/gadget/udc/m66592-udc.c          |   24 +-
 drivers/usb/gadget/udc/mv_u3d_core.c         |   23 +-
 drivers/usb/gadget/udc/mv_udc_core.c         |    9 +-
 drivers/usb/gadget/udc/net2272.c             |    4 -
 drivers/usb/gadget/udc/net2280.c             |   51 +-
 drivers/usb/gadget/udc/net2280.h             |    1 +
 drivers/usb/gadget/udc/pch_udc.c             |   36 +-
 drivers/usb/gadget/udc/pxa27x_udc.c          |    9 +-
 drivers/usb/gadget/udc/r8a66597-udc.c        |   24 +-
 drivers/usb/gadget/udc/trace.c               |   18 +
 drivers/usb/gadget/udc/trace.h               |  298 +++++
 drivers/usb/gadget/udc/udc-core.c            |  800 --------------
 drivers/usb/gadget/udc/udc-xilinx.c          |    3 -
 drivers/usb/host/Kconfig                     |    2 +-
 drivers/usb/phy/Kconfig                      |   11 +-
 drivers/usb/phy/phy-am335x.c                 |    2 +-
 drivers/usb/phy/phy-msm-usb.c                |  178 ++-
 drivers/usb/phy/phy-omap-otg.c               |    2 +-
 drivers/usb/renesas_usbhs/common.c           |    2 +-
 drivers/usb/renesas_usbhs/fifo.c             |   18 +-
 drivers/usb/renesas_usbhs/mod_gadget.c       |    9 +-
 drivers/usb/renesas_usbhs/rcar3.c            |    2 +-
 include/linux/usb/gadget.h                   |  589 ++--------
 include/linux/usb/msm_hsusb.h                |  200 ----
 include/linux/usb/of.h                       |    4 +-
 60 files changed, 4055 insertions(+), 2769 deletions(-)
 delete mode 100644 drivers/usb/dwc3/platform_data.h
 create mode 100644 drivers/usb/gadget/udc/core.c
 create mode 100644 drivers/usb/gadget/udc/trace.c
 create mode 100644 drivers/usb/gadget/udc/trace.h
 delete mode 100644 drivers/usb/gadget/udc/udc-core.c
 delete mode 100644 include/linux/usb/msm_hsusb.h


-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux