Hi Greg, Here's my pull request for v4.18 merge window. Let me know if you want anything to be changed. For the rest of the week I'll have very scarce access to email, so replies may be delayed. Cheers The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e: Linux 4.17-rc2 (2018-04-22 19:20:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.18 for you to fetch changes up to 47265c067c0d129f3a0e94bc221293a780af9d78: usb: dwc2: gadget: Fix coverity issue (2018-05-21 10:40:16 +0300) ---------------------------------------------------------------- usb: changes for v4.18 merge window A total of 98 non-merge commits, the biggest part being in dwc3 this time around with a large refactoring of dwc3's transfer handling code. We also have a new driver for Aspeed virtual hub controller. Apart from that, just a list of miscellaneous fixes all over the place. ---------------------------------------------------------------- Alan Stern (1): usb: gadget: udc: core: Document the relation between usb_ep_queue() and completion callback Andrzej Hajda (1): USB: dwc3: get extcon device by OF graph bindings Anurag Kumar Vulisha (2): usb: dwc3: gadget: Correct handling of scattergather lists usb: dwc3: gadget: Correct the logic for queuing sgs Artur Petrosyan (3): usb: dwc2: Fix crash in incomplete isoc intr handlers. usb: dwc2: Change reading of current frame number flow. usb: dwc2: WA for Full speed ISOC IN in DDMA mode. Benjamin Herrenschmidt (2): usb/gadget: Constify usb_gadget_get_string "table" argument usb/gadget: Add driver for Aspeed SoC virtual hub Chunfeng Yun (6): usb: mtu3: avoid TX data length truncated in SS/SSP mode usb: mtu3: remove repeated setting of gadget state usb: mtu3: fix an unrecognized issue when connected with PC usb: mtu3: fix operation failure when test TEST_J/K usb: mtu3: make USB_MTU3_DUAL_ROLE depend on EXTCON but not USB_MTU3 usb: gadget: composite: fill bcdUSB as 0x0320 for SuperSpeed or higher speeds Dmitry Osipenko (3): usb: phy: tegra: Cleanup error messages usb: tegra: Move utmi-pads reset from ehci-tegra to tegra-phy usb: phy: Add Kconfig entry for Tegra PHY driver Felipe Balbi (43): usb: dwc3: gadget: pre-issue Start Transfer for Interrupt EPs too usb: dwc3: gadget: XferNotReady is Isoc-only usb: dwc3: gadget: XferComplete only for EP0 usb: dwc3: gadget: rename dwc3_endpoint_transfer_complete() usb: dwc3: gadget: don't kick transfer all the time usb: dwc3: gadget: rename done_trbs and done_reqs usb: dwc3: gadget: remove allocated/queued request tracking usb: dwc3: gadget: remove some pointless checks usb: dwc3: gadget: rename dwc3_gadget_start_isoc() usb: dwc3: gadget: move handler closer to calling site usb: dwc3: gadget: remove unnecessary 'dwc' parameter usb: dwc3: gadget: always use frame number from XferNotReady usb: dwc3: gadget: update dep->frame_number from XferInprogress too usb: dwc3: gadget: start removing BUSY flag usb: dwc3: gadget: remove DWC3_EP_BUSY flag usb: dwc3: gadget: make cleanup_completed_requests() return nothing usb: dwc3: gadget: remove unnecessary 'ioc' variable usb: dwc3: gadget: check for Missed Isoc from event status usb: dwc3: gadget: remove duplicated missed isoc handling usb: dwc3: gadget: simplify queueing of isoc transfers usb: dwc3: gadget: simplify isoc case on cleanup_completed_requests usb: dwc3: gadget: split scatterlist and linear handlers usb: dwc3: gadget: remove PENDING handling from cleanup_completed usb: dwc3: gadget: remove unnecessary 'chain' variable usb: dwc3: gadget: simplify unaligned and zlp handling usb: dwc3: trace: print out event status too usb: dwc3: gadget: simplify short packet event usb: dwc3: gadget: simplify IOC handling usb: dwc3: gadget: one declaration per line usb: dwc3: gadget: reduce scope of ret variable usb: dwc3: gadget: get rid of the length variable usb: dwc3: gadget: split dwc3_gadget_ep_cleanup_completed_requests() usb: dwc3: gadget: refactor dwc3_gadget_init_endpoints() usb: dwc3: gadget: combine modify & restore into single argument usb: dwc3: gadget: remove a few more dwc arguments usb: dwc3: gadget: move set_xfer_resource() in place of prototype usb: dwc3: gadget: move dwc3_calc_trbs_left() in place of prototype usb: dwc3: debug: decode uFrame from event too usb: dwc3: gadget: don't issue End Transfer if we have started reqs usb: dwc3: gadget: always start isochronous aligned to dep->interval usb: dwc3: gadget: assign resource_index inside get_transfer_index() usb: dwc3: gadget: initialize transfer index from send_gadget_ep_cmd() usb: dwc3: gadget: init req->{direction,epnum} from alloc_request() Grigor Tovmasyan (3): usb: dwc2: Add Interpacket Gap(IPG) feature support usb: dwc2: Fix kernel doc's warnings. usb: dwc2: gadget: Fix coverity issue Icenowy Zheng (1): usb: dwc3: of-simple: Add compatible for Allwinner H6 platform Jerry Zhang (2): usb: gadget: f_midi: Use refcount when freeing f_midi_opts usb: gadget: f_fs: Add compat_ioctl to epfiles Joel Pepper (1): usb: gadget: composite Allow for larger configuration descriptors John Greb (1): USB: Gadget Ethernet: Re-enable Jumbo frames. John Stultz (1): usb: dwc2: Fix HiKey regression caused by power_down feature Luc Van Oostenryck (1): usb: gadget: f_phonet: fix pn_net_xmit()'s return type Lukasz Nowak (1): usb: gadget: f_ecm: fix host mac address for multiple instances Manu Gautam (3): dt-bindings: usb: Update documentation for Qualcomm DWC3 driver usb: dwc3: Add Qualcomm DWC3 glue driver usb: dwc3: core: Suspend PHYs on runtime suspend in host mode Masahiro Yamada (2): usb: dwc3: use local copy of resource to fix-up register offset usb: dwc3: support clocks and resets for DWC3 core Mayank Rana (1): usb: dwc3: gadget: Fix list_del corruption in dwc3_ep_dequeue Michel Pollet (1): USB: rndis: Fix for handling garbled messages Minas Harutyunyan (2): usb: dwc2: Change ISOC DDMA flow usb: dwc2: Enable BNA interrupt for IN endpoints Nikhil Badola (1): usb: gadget: fsl: Introduce FSL_USB2_PHY_UTMI_DUAL for usb gadget Romain Izard (3): usb: gadget: udc: atmel: GPIO inversion is handled by gpiod usb: gadget: udc: atmel: Remove obsolete include usb: gadget: udc: atmel: Fix indenting Stefan Wahren (1): usb: dwc2: debugfs: Don't touch RX FIFO during register dump Tomeu Vizoso (1): usb: dwc2: dwc2_vbus_supply_init: fix error check Wei Yongjun (2): usb: dwc2: pci: Fix error return code in dwc2_pci_probe() usb: dwc3: gadget: dwc3_gadget_del_and_unmap_request() can be static Wolfram Sang (2): usb: mtu3: simplify getting .drvdata usb: phy: simplify getting .drvdata Yoshihiro Shimoda (6): usb: gadget: udc: renesas_usb3: should remove debugfs usb: gadget: udc: renesas_usb3: should call pm_runtime_enable() before add udc usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc usb: gadget: udc: renesas_usb3: should fail if devm_phy_get() returns error usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting usb: gadget: udc: renesas_usb3: fix double phy_put() kbuild test robot (1): usb: dwc3: dwc3_get_extcon() can be static Documentation/devicetree/bindings/usb/dwc3.txt | 21 + .../devicetree/bindings/usb/qcom,dwc3.txt | 85 ++- Documentation/driver-api/usb/dwc3.rst | 3 +- drivers/usb/dwc2/core.c | 7 + drivers/usb/dwc2/core.h | 190 ++++- drivers/usb/dwc2/core_intr.c | 8 + drivers/usb/dwc2/debug.h | 2 +- drivers/usb/dwc2/debugfs.c | 22 +- drivers/usb/dwc2/gadget.c | 355 +++++---- drivers/usb/dwc2/hcd.c | 16 +- drivers/usb/dwc2/hcd.h | 14 +- drivers/usb/dwc2/hcd_ddma.c | 1 + drivers/usb/dwc2/hcd_intr.c | 12 + drivers/usb/dwc2/hcd_queue.c | 5 +- drivers/usb/dwc2/hw.h | 2 + drivers/usb/dwc2/params.c | 14 +- drivers/usb/dwc2/pci.c | 10 +- drivers/usb/dwc3/Kconfig | 12 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/core.c | 154 +++- drivers/usb/dwc3/core.h | 25 +- drivers/usb/dwc3/debug.h | 26 +- drivers/usb/dwc3/drd.c | 34 +- drivers/usb/dwc3/dwc3-of-simple.c | 2 +- drivers/usb/dwc3/dwc3-qcom.c | 620 +++++++++++++++ drivers/usb/dwc3/ep0.c | 6 +- drivers/usb/dwc3/gadget.c | 777 +++++++++---------- drivers/usb/dwc3/gadget.h | 5 +- drivers/usb/dwc3/trace.h | 12 +- drivers/usb/gadget/composite.c | 2 +- drivers/usb/gadget/function/f_ecm.c | 3 +- drivers/usb/gadget/function/f_fs.c | 11 + drivers/usb/gadget/function/f_midi.c | 26 +- drivers/usb/gadget/function/f_phonet.c | 2 +- drivers/usb/gadget/function/rndis.c | 3 + drivers/usb/gadget/function/u_ether.c | 4 + drivers/usb/gadget/udc/Kconfig | 2 + drivers/usb/gadget/udc/Makefile | 1 + drivers/usb/gadget/udc/aspeed-vhub/Kconfig | 7 + drivers/usb/gadget/udc/aspeed-vhub/Makefile | 4 + drivers/usb/gadget/udc/aspeed-vhub/core.c | 425 +++++++++++ drivers/usb/gadget/udc/aspeed-vhub/dev.c | 589 ++++++++++++++ drivers/usb/gadget/udc/aspeed-vhub/ep0.c | 486 ++++++++++++ drivers/usb/gadget/udc/aspeed-vhub/epn.c | 843 +++++++++++++++++++++ drivers/usb/gadget/udc/aspeed-vhub/hub.c | 829 ++++++++++++++++++++ drivers/usb/gadget/udc/aspeed-vhub/vhub.h | 514 +++++++++++++ drivers/usb/gadget/udc/atmel_usba_udc.c | 22 +- drivers/usb/gadget/udc/atmel_usba_udc.h | 1 - drivers/usb/gadget/udc/core.c | 6 + drivers/usb/gadget/udc/fsl_udc_core.c | 1 + drivers/usb/gadget/udc/renesas_usb3.c | 37 +- drivers/usb/gadget/usbstring.c | 2 +- drivers/usb/host/Kconfig | 4 +- drivers/usb/host/ehci-tegra.c | 87 +-- drivers/usb/mtu3/Kconfig | 3 +- drivers/usb/mtu3/mtu3.h | 4 - drivers/usb/mtu3/mtu3_dr.c | 25 +- drivers/usb/mtu3/mtu3_gadget.c | 8 +- drivers/usb/mtu3/mtu3_gadget_ep0.c | 12 +- drivers/usb/mtu3/mtu3_plat.c | 6 +- drivers/usb/phy/Kconfig | 9 + drivers/usb/phy/Makefile | 2 +- drivers/usb/phy/phy-am335x.c | 6 +- drivers/usb/phy/phy-tegra-usb.c | 140 +++- include/linux/usb/atmel_usba_udc.h | 24 - include/linux/usb/composite.h | 2 +- include/linux/usb/gadget.h | 2 +- include/linux/usb/tegra_usb_phy.h | 2 + 68 files changed, 5691 insertions(+), 906 deletions(-) create mode 100644 drivers/usb/dwc3/dwc3-qcom.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/Kconfig create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/Makefile create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/core.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/dev.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/ep0.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/epn.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/hub.c create mode 100644 drivers/usb/gadget/udc/aspeed-vhub/vhub.h delete mode 100644 include/linux/usb/atmel_usba_udc.h -- balbi
Attachment:
signature.asc
Description: PGP signature