Hi Greg, here's the gadget pull request for v4.7 merge window. It's mostly dwc3 this time: $ git diff --dirstat v4.6-rc3 74.4% drivers/usb/dwc3/ 13.9% drivers/usb/gadget/udc/ 5.2% drivers/usb/gadget/ 3.6% drivers/usb/renesas_usbhs/ Patches have been tested on Intel platforms and have been soaking on Linux next for a while now. Let me know if you want anything to be changed. cheers The following changes since commit bf16200689118d19de1b8d2a3c314fc21f5dc7bb: Linux 4.6-rc3 (2016-04-10 17:58:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.7 for you to fetch changes up to 2a58f9c12bb360f38fb39e470bb5ff94014356e6: usb: dwc3: gadget: disable automatic calculation of ACK TP NUMP (2016-04-28 10:56:28 +0300) ---------------------------------------------------------------- usb: changes for v4.7 merge window Here's the big USB Gadget pull request. This time not as large as usual with only 57 non-merge commits. The most important part here is, again, all the work on dwc3. This time around we're treating all endpoints (except for control endpoint) exactly the same. They all have the same amount of TRBs on the ring, they all treat the ring as an actual ring with a link TRB pointing to the head, etc. We're also helping the host side burst (on SuperSpeed GEN1 or GEN2 at least) for as long as possible until the endpoint returns NRDY. Other than this big TRB ring rework on dwc3, we also have a dwc3-omap DMA initialization fix, some extra debugfs files to aid in some odd debug sessions and a complete removal of our FIFO resizing logic. We have a new quirk for some dwc3 P3 quirk in some implementations. The rest is basically non-critical fixes and the usual cleanups. ---------------------------------------------------------------- Andy Shevchenko (5): usb: gadged: pch_udc: PCI core handles power state for us usb: gadget: pch_udc: convert to devres API usb: gadget: pch_udc: enable MSI if hardware supports usb: gadged: pch_udc: get rid of redundant assignments usb: gadget: pch_udc: sort IDs Arnd Bergmann (1): usb: common: rework CONFIG_USB_COMMON logic Denys Vlasenko (1): usb: gadget: r8a66597-udc: Deinline pipe_change, save 2176 bytes Du, Changbin (1): usb: dwc3: make dwc3_debugfs_init return value be void Fei Yang (1): usb: dwc3: ep0: sanity check test mode selector Felipe Balbi (29): usb: dwc3: drop FIFO resizing logic usb: dwc3: gadget: always enable CSP usb: dwc3: increase maximum number of TRBs per endpoint usb: dwc3: better name for our request management lists usb: gadget: udc: at91: use PTR_ERR_OR_ZERO() usb: phy: qcom: use PTR_ERR_OR_ZERO() usb: dwc3: remove num_event_buffers usb: dwc3: drop ev_buffs array usb: dwc3: gadget: pass ev_buff as cookie to irq handler usb: dwc3: gadget: combine return points into a single one usb: dwc3: gadget: clear SUSPHY bit before ep cmds usb: dwc3: gadget: extract unlocked dwc3_gadget_wakeup() usb: dwc3: gadget: put link to U0 before Start Transfer usb: dwc3: gadget: rename busy/free_slot to trb_enqueue/dequeue usb: dwc3: core: document struct dwc3_request usb: dwc3: switch trb enqueue/dequeue and first_trb_index to u8 usb: dwc3: get rid of DWC3_TRB_MASK usb: dwc3: gadget: add trb enqueue/dequeue helpers usb: dwc3: gadget: move % operation to increment helpers usb: dwc3: gadget: use link TRB for all endpoint types usb: dwc3: gadget: remove newline from trace usb: dwc3: gadget: don't interrupt when chained usb: gadget: pch_udc: don't free devm allocated memory usb: dwc3: core: add fifo space helper usb: dwc3: core: add helper to extract trb type usb: dwc3: debugfs: dump out endpoint details usb: gadget: composite: avoid kernel oops with bad gadgets usb: dwc3: gadget: update DCFG.NumP to max burst size usb: dwc3: gadget: disable automatic calculation of ACK TP NUMP Grygorii Strashko (1): usb: dwc3: omap: drop dma_mask configuration Heikki Krogerus (2): usb: dwc3: pci: make build-in device properties available usb: dwc3: pci: pass the platform device as a parameter to dwc3_pci_quirks() John Youn (1): usb: dwc2: Proper cleanup on dr_mode failure Konrad Leszczynski (1): usb: dwc3: gadget: give better command return code Lars-Peter Clausen (1): usb: gadget: f_fs: Fix EFAULT generation for async read operations Michal Nazarewicz (1): usb: f_mass_storage: test whether thread is running before starting another Rajesh Bhagat (2): Documentation: dt: dwc3: Add snps,dis_rxdet_inp3_quirk property usb: dwc3: add disable receiver detection in P3 quirk Roger Quadros (1): usb: dwc3: omap: get rid of dma_status Sevak Arakelyan (1): usb: dwc2: Fixed SOF interrupt enabling/disabling Vahram Aharonyan (1): usb: dwc2: gadget: Check for ep0 in enable Vardan Mikayelyan (2): usb: dwc2: gadget: Prevent handling of host interrupts usb: dwc2: host: Setting qtd to NULL after freeing it Yoshihiro Shimoda (5): usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request() usb: gadget: udc: core: add usb_gadget_{un}map_request_by_dev() usb: renesas_usbhs: change function call orfer in usbhsf_dma_prepare_push() usb: renesas_usbhs: change arguments of dma_map_ctrl() usb: renesas_usbhs: use usb_gadget_{un}map_request_by_dev() for IPMMU Documentation/devicetree/bindings/usb/dwc3.txt | 6 +- .../devicetree/bindings/usb/qcom,dwc3.txt | 1 - drivers/phy/Kconfig | 3 +- drivers/usb/Kconfig | 3 +- drivers/usb/dwc2/gadget.c | 8 +- drivers/usb/dwc2/hcd.c | 1 + drivers/usb/dwc2/hcd.h | 1 + drivers/usb/dwc2/hcd_queue.c | 3 +- drivers/usb/dwc2/platform.c | 2 +- drivers/usb/dwc3/core.c | 118 +++--- drivers/usb/dwc3/core.h | 84 +++- drivers/usb/dwc3/debug.h | 6 +- drivers/usb/dwc3/debugfs.c | 355 +++++++++++++++-- drivers/usb/dwc3/dwc3-omap.c | 9 - drivers/usb/dwc3/dwc3-pci.c | 18 +- drivers/usb/dwc3/ep0.c | 43 ++- drivers/usb/dwc3/gadget.c | 427 ++++++++++----------- drivers/usb/dwc3/gadget.h | 6 +- drivers/usb/dwc3/platform_data.h | 2 +- drivers/usb/gadget/Kconfig | 1 + drivers/usb/gadget/composite.c | 22 +- drivers/usb/gadget/function/f_fs.c | 2 +- drivers/usb/gadget/function/f_mass_storage.c | 36 +- drivers/usb/gadget/function/f_mass_storage.h | 2 - drivers/usb/gadget/legacy/acm_ms.c | 4 - drivers/usb/gadget/legacy/mass_storage.c | 4 - drivers/usb/gadget/legacy/multi.c | 12 - drivers/usb/gadget/legacy/nokia.c | 7 - drivers/usb/gadget/udc/at91_udc.c | 5 +- drivers/usb/gadget/udc/pch_udc.c | 175 +++------ drivers/usb/gadget/udc/r8a66597-udc.c | 2 +- drivers/usb/gadget/udc/udc-core.c | 26 +- drivers/usb/phy/phy-qcom-8x16-usb.c | 5 +- drivers/usb/renesas_usbhs/fifo.c | 16 +- drivers/usb/renesas_usbhs/mod_gadget.c | 9 +- drivers/usb/renesas_usbhs/mod_host.c | 3 +- drivers/usb/renesas_usbhs/pipe.c | 3 +- drivers/usb/renesas_usbhs/pipe.h | 6 +- include/linux/usb/gadget.h | 4 + 39 files changed, 827 insertions(+), 613 deletions(-) -- balbi
Attachment:
signature.asc
Description: PGP signature