[PATCH v2 1/1] usbip: auto retry for concurrent attach

2017-05-28 Thread Nobuo Iwata
This patch adds recovery from false busy state on concurrent attach operation. The procedure of attach operation is as below. 1) Find an unused port in /sys/devices/platform/vhci_hcd/status. (userspace) 2) Request attach found port to driver through /sys/devices/platform/vhci_hcd/attach.

Re: Gadget driver & virtual hub

2017-05-28 Thread Benjamin Herrenschmidt
On Sat, 2017-05-27 at 21:58 -0400, Alan Stern wrote: > Vbus is the +5V power provided on the USB bus by the host controller.  > Bus-powered devices use it as their sole power source, and self-powered > devices may use it in conjunction with their own alternative power > source. > > If a UDC

Re: [PATCH v3 0/2] usb: Check for DMA capable buffer sanity

2017-05-28 Thread Wolfram Sang
On Fri, May 05, 2017 at 02:08:31PM -0700, Florian Fainelli wrote: > On 04/25/2017 05:56 PM, Florian Fainelli wrote: > > Changes in v3: > > > > - added check in usb_gadget_map_request_by_dev (Felipe), new patch > > - improved commit message description (Clemens) > > - added additiona checks for