Re: net2280 Driver Bug

2016-12-25 Thread Linus Torvalds
On Sun, Dec 25, 2016 at 8:09 AM, Raz Manor wrote: > > I had a problem with the net2280 driver- reading from an endpoint resulted > with a wrong read size in some cases. > > I found the problem and fixed it, and I wanted to publish the fix. However, > I have no push access,

[PATCH v14 03/10] usbip: exporting devices: new connect operation

2016-12-25 Thread Nobuo Iwata
Implementation of new connect operation. This is linked as a part of usbip command. With this patch, usbip command has following operations. bind unbind list (local/remote) attach detach port connect ... this patch In device side node, this binds a device internally, sends an export

[PATCH v14 06/10] usbip: exporting devices: modifications to attach and detach

2016-12-25 Thread Nobuo Iwata
Refactoring to attach and detach operation to reuse common portion to application(vhci)-side daemon. The new application(vhci)-side daemon executes same procedures as attach and detach. Most of common code to access vhci has been implemented in VHCI userspace wrapper(libsrc/vhci_driver.c) but

[PATCH v14 00/10] usbip: exporting devices

2016-12-25 Thread Nobuo Iwata
Dear all, This series of patches adds exporting device operation to USB/IP. NOTE: This patch set modifies only userspace codes in tools/usb/usbip. Existing operation is still available. New operation will not be enabled unless new daemon is started. 1. Background The motivation of this series

[PATCH v14 05/10] usbip: exporting devices: modifications to daemon

2016-12-25 Thread Nobuo Iwata
Refactoring to the daemon to reuse common portion for new application side daemon. It's divided into two portions. usbipd.c : common code for both device and application side daemon. usbipd_dev.c : device-side specific code extracted from usbipd.c. To do so, host driver dependent headers and

[PATCH v14 04/10] usbip: exporting devices: new disconnect operation

2016-12-25 Thread Nobuo Iwata
Implementation of new disconnect operation. This is linked as a part of usbip command. With this patch, usbip command has following operations. bind unbind list (local/remote) attach detach port connect ... previous patch disconnect ... this patch In device side node, this sends an

[PATCH v14 02/10] usbip: exporting devices: modifications to host side libraries

2016-12-25 Thread Nobuo Iwata
Modifications to host driver wrapper and its related operations (i.e. bind/unbind). usbip_get_device() method was not used. The implementation of the method searches a bound devices list by list index. The position in the list is meaningless for any operations so it is assumed not to be used

[PATCH v14 01/10] usbip: exporting devices: modifications to network header

2016-12-25 Thread Nobuo Iwata
This patch set implements operations to export and unexport device using pre-defined but un-used export and un-export request and reply. This patch modifies export and un-export reply in tools/usb/usbip/src/usbip_network.h. The 'returncode' of each response is removed. The status is set in

[PATCH v14 08/10] usbip: exporting devices: change to usbip_list.c

2016-12-25 Thread Nobuo Iwata
Correction to wording inconsistency around import and export in usbip_list.c regarding output title, help and function names. 'exported' was used for devices bound in remote and to be attached with 'import' request. This patch set uses pre-defined 'export' request to connect device. To avoid

[PATCH v14 07/10] usbip: exporting devices: new application-side daemon

2016-12-25 Thread Nobuo Iwata
This patch is the new application(vhci)-side daemon specific code. The daemons are consisting three files. usbip.c : common code. usbip_dev.c: device(stub)-side specific code. usbip_app.c: application(vhci)-side specific code - this patch. Here, device-side daemon is EXISTING-1 and

[PATCH v14 10/10] usbip: exporting devices: modifications to protocol text

2016-12-25 Thread Nobuo Iwata
This patch adds export and un-export request/response to Documentation/usb/usbip_protocol.txt. The definition of the structs has been defined in original code of tools/usb/usbip/usbip_network.h but not described in the document. Adding the request and response, words 'server' and 'client' are

[PATCH v14 09/10] usbip: exporting devices: chage to documenattion

2016-12-25 Thread Nobuo Iwata
This patch adds function and usage of new connect operation, disconnect operation and application(vhci)-side daemon to README and manuals. At this point, the wording, 'server' and 'client' are ambiguous in several place. For existing attach command, the daemon runs device side machine and

[PATCH v8 1/2] usbip: vhci extension: modifications to userspace

2016-12-25 Thread Nobuo Iwata
Modification to the userspace tools including usbip/libsrc and usbip/src. Changed corresponding to new vhci_sysfs.c. nports in sysfs is used to get total number of ports. Old get_nports() ignores the last status line because udev_device_get_sysattr_value() drops last new line. New version

[PATCH v8 0/2] usbip: vhci number of ports extension

2016-12-25 Thread Nobuo Iwata
This series of patches extends number of ports limitaion in application (vhci) side. Driver portion of static extension has been merged at 4.9-rc1. 1/2 modifies userspace tools. It's effective not only for static extension but also for dynamic. 2/2 modifies driver for dynamic extenstion. 1.

[PATCH v8 2/2] usbip: vhci extension: dynamic extension

2016-12-25 Thread Nobuo Iwata
Modification for dynamic device registration and unregistration. 1. kernel config Following parameters are added. USBIP_VHCI_HC_PORTS: Number of ports per USB/IP virtual host controller. The default is 8 - same as current VHCI_NPORTS. USBIP_VHCI_MAX_HCS: Muximum number of USB/IP virtual host

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

2016-12-25 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: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use descriptor-based gpio APIs correctly

2016-12-25 Thread Wenyou.Yang
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: 2016年12月24日 2:05 > To: Peter Rosin > Cc: linux-ker...@vger.kernel.org; Alan Stern ; > linux-usb@vger.kernel.org; Wenyou Yang - A41535 >