[PATCH v2 1/2] usb/core: Added devspec sysfs entry for devices behind the usb hub

2016-10-06 Thread Vijay Kumar
Grub finds incorrect of_node path for devices behind usb hub. Added devspec sysfs entry for devices behind usb hub so that right of_node path is returned during grub sysfs walk for these devices. Signed-off-by: Vijay Kumar --- drivers/usb/core/sysfs.c | 15

[PATCH v2 2/2] Documentation/ABI: Added ABI information for devspec and obppath.

2016-10-06 Thread Vijay Kumar
Updated Documentation/ABI for devspec and obppath sysfs entries. Signed-off-by: Vijay Kumar --- Documentation/ABI/stable/sysfs-devices | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-devices

Re: [REGRESSION] "dwc2: gadget: fix TX FIFO size and address initialization" breaks "adb logcat" on hikey

2016-10-06 Thread John Youn
On 10/5/2016 11:33 PM, John Stultz wrote: > Hey folks, >So I've run into some trouble that I've narrowed down to commit > aa381a7259c3 ("usb: dwc2: gadget: fix TX FIFO size and address > initialization"). > > After booting up android on HiKey, if I run "adb logcat", I get about > a page of

[PATCH] wusb: Stop using the stack for sg crypto scratch space

2016-10-06 Thread Andy Lutomirski
Pointing an sg list at the stack is verboten and, with CONFIG_VMAP_STACK=y, will malfunction. Use kmalloc for the wusb crypto stack space instead. Untested -- I'm not entirely convinced that this hardware exists in the wild. Signed-off-by: Andy Lutomirski --- This is needed

[PATCH] USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7

2016-10-06 Thread Stefan Tauner
This adds support to ftdi_sio for the Infineon TriBoard TC2X7 engineering board for first-generation Aurix SoCs with Tricore CPUs. Mere addition of the device IDs does the job. Signed-off-by: Stefan Tauner --- drivers/usb/serial/ftdi_sio.c | 3 ++-

Re: [PATCH] USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7

2016-10-06 Thread Stefan Tauner
On Thu, 06 Oct 2016 09:39:43 +0200 Oliver Neukum wrote: > On Wed, 2016-10-05 at 16:11 +0200, Stefan Tauner wrote: > > This adds support to ftdi_sio for the Infineon TriBoard TC2X7 > > engineering board for first-generation Aurix SoCs with Tricore CPUs. > > Mere addition of the

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422

2016-10-06 Thread Michael Niewöhner
Hi Vivek, On Di, 2016-10-04 at 17:32 +0530, Vivek Gautam wrote: > Hi Michael, > > > On Tue, Oct 4, 2016 at 4:28 PM, Michael Niewöhner > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [1.] One line summary of the problem: > > > > > > >

Problem with musb dma packet

2016-10-06 Thread Andrew Goodbody
I am trying to investigate an issue on a TI Sitara CPU, AM3352 with the musb USB controller. The scenario is that a device has been in use and working correctly. The device is an Android device and is presenting as an MTP device. That first session of use is finished and the port is reset but

Re: USB hot-plug not working (ASUS TP301UA-C4028T)

2016-10-06 Thread Alan Stern
On Wed, 5 Oct 2016, Lukas Wunner wrote: > On Wed, Oct 05, 2016 at 01:54:01PM -0500, Bjorn Helgaas wrote: > > On Wed, Oct 05, 2016 at 10:45:22AM -0400, Alan Stern wrote: > > > In short, Pierre's USB host controller doesn't send wakeup signals from > > > runtime suspend, because the firmware limits

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-10-06 Thread Oliver Neukum
On Thu, 2016-09-29 at 15:26 +0200, Wim Osterholt wrote: > On Wed, Sep 28, 2016 at 05:23:30PM +0200, Oliver Neukum wrote: > > > > > > HP src # sync > > > HP src # [ 3744.914184] BUG: unable to handle kernel NULL pointer > > > dereference at 0249 > > > > The last view lines before that please

Re: [PATCH] USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7

2016-10-06 Thread Oliver Neukum
On Wed, 2016-10-05 at 16:11 +0200, Stefan Tauner wrote: > This adds support to ftdi_sio for the Infineon TriBoard TC2X7 > engineering board for first-generation Aurix SoCs with Tricore CPUs. > Mere addition of the device IDs does the job. Now you only need to put Johan Hovold into CC and do an

Re: [PATCH] Revert "usb: dwc3: gadget: use allocated/queued reqs for LST bit"

2016-10-06 Thread Felipe Balbi
Hi, Felipe Balbi writes: >>> >> Reverting that commit is not the best idea. Let's start with the usual: >>> >> >>> >> - Kernel version >>> >> - dmesg on both sides (host and device) >>> >> - dwc3 tracepoints: >>> >> >>> >> # mkdir -p /t >>> >> # mount -t tracefs

Re: USB hot-plug not working (ASUS TP301UA-C4028T)

2016-10-06 Thread Oliver Neukum
On Wed, 2016-10-05 at 22:41 +0200, Lukas Wunner wrote: > The PCI core doesn't allow runtime PM by default. Rather it calls > pm_runtime_forbid() when the device is added (see pci_pm_init(), > called > indirectly from pci_device_add()). PCI drivers need to explicitly > call > pm_runtime_allow(),