Hi Greg, here's my pull request for the next merge window. Patches have been around soaking for quite a while and I've tested them on platforms I have available. Let me know if you want anything to be changed. Happy holidays The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436: Linux 4.20-rc4 (2018-11-25 14:19:31 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git usb-for-v4.21 for you to fetch changes up to 4fe4f9fecc36956fd53c8edf96dd0c691ef98ff9: usb: dwc2: Fix disable all EP's on disconnect (2018-12-11 15:42:39 +0200) ---------------------------------------------------------------- USB changes for v4.21 So it looks like folks are interested in dwc3 again. Almost 64% of the changes are in dwc3 this time around with some other bits in gadget functions and dwc2. There are two important parts here: a. removal of the waitqueue from dwc3's dequeue implementation, which will guarantee that gadget functions can dequeue from any context and; b. better method for starting isochronous transfers to avoid, as much as possible, missed isoc frames. Apart from these, we have the usual set of non-critical fixes and new features all over the place. ---------------------------------------------------------------- Andrzej Pietrasiewicz (1): usb: gadget: f_fs: Allow scatter-gather buffers Andy Shevchenko (3): usb: dwc3: drd: Switch to device property for 'extcon' handling usb: dwc3: drd: Add support for DR detection through extcon usb: dwc3: trace: add missing break statement to make compiler happy Anurag Kumar Vulisha (3): usb: dwc3: update stream id in depcmd usb: dwc3: don't issue no-op trb for stream capable endpoints usb: dwc3: Correct the logic for checking TRB full in __dwc3_prepare_one_trb() Artur Petrosyan (2): usb: dwc2: gadget: Fix WkupAlert interrupt handler. usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty Brian Norris (1): usb: dwc3: don't log probe deferrals; but do log other error codes Chunfeng Yun (5): usb: mtu3: remove QMU checksum usb: mtu3: enable hardware remote wakeup from L1 automatically usb: mtu3: fix the issue about SetFeature(U1/U2_Enable) usb: mtu3: enable SETUPENDISR interrupt usb: mtu3: clear SOFTCONN when clear USB3_EN if work as HS mode Colin Ian King (1): usb: gadget: udc: fix spelling mistake "intrerrupt" -> "interrupt" Felipe Balbi (11): usb: dwc3: gadget: combine unaligned and zero flags usb: dwc3: gadget: track number of TRBs per request usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue() usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs() usb: dwc3: gadget: introduce cancelled_list usb: dwc3: gadget: move requests to cancelled_list usb: dwc3: gadget: remove wait_end_transfer usb: dwc3: gadget: return errors from __dwc3_gadget_start_isoc() usb: dwc3: trace: log ep commands in hex usb: dwc3: gadget: remove unnecessary dev_info() usb: dwc3: gadget: check if dep->frame_number is still valid Hsin-Yi, Wang (1): usb/mtu3: power down device ip at setup Jarkko Nikula (1): usb: renesas_usbhs: Remove dummy runtime PM callbacks Julia Lawall (2): usb: gadget: aspeed-vhub: constify usb_gadget_ops structure usb: gadget: uvc: constify vb2_ops structure Marek Szyprowski (1): usb: dwc2: Disable power down feature on Samsung SoCs Martin Blumenstingl (1): usb: dwc2: disable power_down on Amlogic devices Minas Harutyunyan (1): usb: dwc2: Fix disable all EP's on disconnect Stephan Gerhold (1): Revert "usb: dwc3: pci: Use devm functions to get the phy GPIOs" Tejas Joglekar (1): usb: dwc3: gadget: Disable CSP for stream OUT ep Terin Stock (1): usb: dwc2: host: use hrtimer for NAK retries Thinh Nguyen (14): usb: dwc3: debugfs: Properly name Tx/RxFIFO usb: dwc3: debugfs: Print eps Tx/RxFIFO in bytes usb: dwc3: debugfs: Dump internal LSP and ep registers usb: dwc3: debugfs: Properly print/set link state for HS usb: dwc3: debugfs: Print/set link state for peripheral mode usb: dwc3: Set GUSB2PHYCFG.ENBLSLPM usb: dwc3: Add a property to disable USB2 LPM usb: dwc3: Support option to disable USB2 LPM usb: dwc3: Set default mode for DWC_usb3 v3.30a and higher usb: dwc3: Track DWC_usb31 VERSIONTYPE usb: dwc3: Add disabling of start_transfer failure quirk usb: dwc3: Add workaround for isoc start transfer failure usb: gadget: Introduce frame_number to usb_request usb: dwc3: gadget: Report isoc transfer frame number Vincent Pelletier (1): usb: gadget: f_fs: Add support for CCID descriptors. Yangtao Li (1): USB: gadget: udc: s3c2410_udc: convert to DEFINE_SHOW_ATTRIBUTE Yoshihiro Shimoda (2): usb: gadget: udc: renesas_usb3: add a safety connection way for forced_b_device usb: renesas_usbhs: Use SIMPLE_DEV_PM_OPS macro YueHaibing (1): usb: mtu3: fix dbginfo in qmu_tx_zlp_error_handler Documentation/devicetree/bindings/usb/dwc3.txt | 4 + drivers/usb/dwc2/gadget.c | 44 ++-- drivers/usb/dwc2/hcd.h | 2 +- drivers/usb/dwc2/hcd_queue.c | 19 +- drivers/usb/dwc2/hw.h | 2 + drivers/usb/dwc2/params.c | 11 +- drivers/usb/dwc3/core.c | 19 +- drivers/usb/dwc3/core.h | 60 ++++- drivers/usb/dwc3/debug.h | 29 +++ drivers/usb/dwc3/debugfs.c | 201 ++++++++++++++- drivers/usb/dwc3/drd.c | 15 +- drivers/usb/dwc3/dwc3-pci.c | 8 +- drivers/usb/dwc3/gadget.c | 342 ++++++++++++++++--------- drivers/usb/dwc3/gadget.h | 15 ++ drivers/usb/dwc3/host.c | 5 +- drivers/usb/dwc3/trace.h | 4 +- drivers/usb/gadget/function/f_fs.c | 122 ++++++++- drivers/usb/gadget/function/uvc_queue.c | 2 +- drivers/usb/gadget/udc/aspeed-vhub/dev.c | 2 +- drivers/usb/gadget/udc/pch_udc.c | 2 +- drivers/usb/gadget/udc/renesas_usb3.c | 15 +- drivers/usb/gadget/udc/s3c2410_udc.c | 17 +- drivers/usb/mtu3/mtu3_core.c | 20 +- drivers/usb/mtu3/mtu3_gadget_ep0.c | 14 +- drivers/usb/mtu3/mtu3_hw_regs.h | 6 + drivers/usb/mtu3/mtu3_plat.c | 8 + drivers/usb/mtu3/mtu3_qmu.c | 28 +- drivers/usb/renesas_usbhs/common.c | 19 +- include/linux/usb/ccid.h | 51 ++++ include/linux/usb/gadget.h | 4 + 30 files changed, 808 insertions(+), 282 deletions(-) create mode 100644 include/linux/usb/ccid.h -- balbi
Attachment:
signature.asc
Description: PGP signature