Re: USB: OOPS 4.1.0-rc5-next-20150527 on boot usb-stick-plugged

2015-05-28 Thread Chris Ruehl
On Thu, May 28, 2015 at 11:15:47AM +0800, Chris Ruehl wrote: Hi, this is an other OOPS happen when the memory stick is plugged while boot its hits a problem in the usb_hub_wq. If you need more details please let me know. [6.258589] Unhandled fault: external abort on non-linefetch (0x008)

Re: USB: OOPS 4.1.0-rc5-next-20150527 after lsusb -v

2015-05-28 Thread Chris Ruehl
On Thursday, May 28, 2015 01:51 PM, Felipe Balbi wrote: On Thu, May 28, 2015 at 11:10:47AM +0800, Chris Ruehl wrote: Hi, I'm port from 3.17 to 4.1-rc5 with imx27, Chipidea and ISP1504 When I plug a memory stick to the usb-port it do not detect so I used a lsusb -v call with triggers the oops.

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Pali Rohár
On Saturday 31 January 2015 10:53:30 Pali Rohár wrote: > This patch adds removable mass storage support to g_nokia gadget (for N900). > It means that at runtime block device can be exported or unexported. > So it does not export anything by default and thus allows to use MyDocs > partition as befor

Re: [PATCH] usb: gadget: atmel: fix build warning

2015-05-28 Thread Nicolas Ferre
Le 26/05/2015 22:38, Felipe Balbi a écrit : > This patch fixes the following build warning: > > drivers/usb/gadget/udc/atmel_usba_udc.c:707:2: warning: format ‘%x’ > expects argument of type ‘unsigned int’, but argument 4 has type > ‘dma_addr_t’ [-Wformat=] > > Signed-off-by: Felipe Balbi Acked

ehci_bus_suspend system halt

2015-05-28 Thread Michael Trimarchi
Hi Alan we are working on a samsung exysnos5430 device and we have some problem during suspend. The only way to solve it seems this patch. We don't really know what could be the problem. Do you have any suggestion to debug it? diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c

Re: [PATCH v4 00/11] usbip: features to USB over WebSocket

2015-05-28 Thread Oliver Neukum
On Thu, 2015-05-28 at 14:56 +0900, Nobuo Iwata wrote: > Dear all, > > This series of patches introduces WebSocket to USB/IP. Hi, how do you avoid deadlocking under memory pressure? It seems to me that under these semantics you can no longer guarantee GFP_NOIO if usb-storage or UAS are used, bec

Re: [PATCH 9/9] usb: chipidea: update ci_otg_is_fsm_mode conditions

2015-05-28 Thread Peter Chen
On Thu, May 28, 2015 at 11:33:14AM +0800, Li Jun wrote: > On Thu, May 28, 2015 at 09:37:47AM +0800, Peter Chen wrote: > > On Wed, May 27, 2015 at 07:50:09PM +0800, Li Jun wrote: > > > After introduce usb otg properties, update ci_otg_is_fsm_mode conditions > > > to be > > > depending on both usb h

RE: [PATCH v4 00/11] usbip: features to USB over WebSocket

2015-05-28 Thread fx IWATA NOBUO
Hi, > how do you avoid deadlocking under memory pressure? > It seems to me that under these semantics you can no > longer guarantee GFP_NOIO if usb-storage or UAS are used, > because you have no control over memory allocations user > space makes. Sorry, I haven't cared the case. I found GFP_NOIO

[PATCH v2] usb: gadget: dbgp: Supply config descriptor and accept set config command.

2015-05-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
commit 6d1e47017e322b09ee3c0d42e7c05babfc2a4cc7 Author: Vladimir Serbinenko Date: Tue May 26 21:35:06 2015 +0200 dbgp: Supply config descriptor and accept set config command. This descriptor and commands are part of core USB specification and every USB device should have one.

DWC3 linux driver query

2015-05-28 Thread sundeep subbaraya
Hi Felipe and Paul, I am seeing an issue while testing iperf for USB ethernet gadget with dwc3 controller in 2.0 mode. After debugging I figured out that: 1. Network gadget queues say 3 requests. (for IN endpoint) 2. It turns out with req.no_interrupt flag, DWC3 driver issues START_TRANSFER w

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-28 Thread Sasha Levin
On 05/28/2015 01:39 AM, Sudip Mukherjee wrote: > diff --git a/drivers/base/driver.c b/drivers/base/driver.c > index 4eabfe2..1acae5b 100644 > --- a/drivers/base/driver.c > +++ b/drivers/base/driver.c > @@ -150,6 +150,11 @@ int driver_register(struct device_driver *drv) > int ret; > stru

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-28 Thread Heikki Krogerus
On Thu, May 28, 2015 at 08:36:46AM -0400, Sasha Levin wrote: > On 05/28/2015 01:39 AM, Sudip Mukherjee wrote: > > diff --git a/drivers/base/driver.c b/drivers/base/driver.c > > index 4eabfe2..1acae5b 100644 > > --- a/drivers/base/driver.c > > +++ b/drivers/base/driver.c > > @@ -150,6 +150,11 @@ int

Re: Disk access keeps causing serial/USB failures?

2015-05-28 Thread Marc MERLIN
On Tue, May 19, 2015 at 10:56:39AM -0700, Marc MERLIN wrote: > On Tue, May 19, 2015 at 01:21:30PM -0400, Alan Stern wrote: > > This strongly suggests that the problem lies in the hubs (or in one of > > them). Something caused a hub to disconnect, and when that happened > > all of the serial port

Re: USB: OOPS 4.1.0-rc5-next-20150527 on boot usb-stick-plugged

2015-05-28 Thread Felipe Balbi
On Thu, May 28, 2015 at 03:43:23PM +0800, Chris Ruehl wrote: > >On Thu, May 28, 2015 at 11:15:47AM +0800, Chris Ruehl wrote: > >>Hi, > >> > >>this is an other OOPS happen when the memory stick is plugged while boot > >>its hits a problem in the usb_hub_wq. > >> > >>If you need more details please l

[PATCH] usb: phy: add static inline wrapper for devm_usb_get_phy_by_node

2015-05-28 Thread Arnd Bergmann
The newly introduced devm_usb_get_phy_by_node function only has an extern declaration, but no alternative for the case that CONFIG_USB_PHY is disabled, which leads to a build error when it is used anyway: drivers/power/twl4030_charger.c: In function 'twl4030_bci_probe': drivers/power/twl4030_charg

Re: DWC3 linux driver query

2015-05-28 Thread Felipe Balbi
Hi, On Thu, May 28, 2015 at 04:53:09PM +0530, sundeep subbaraya wrote: > Hi Felipe and Paul, btw, Paul has left Synopys :-) > I am seeing an issue while testing iperf for USB ethernet gadget with > dwc3 controller in 2.0 mode. After debugging I figured out that: > > 1. Network gadget queues say

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Krzysztof Opasiak
On 05/28/2015 09:47 AM, Pali Rohár wrote: On Saturday 31 January 2015 10:53:30 Pali Rohár wrote: This patch adds removable mass storage support to g_nokia gadget (for N900). It means that at runtime block device can be exported or unexported. So it does not export anything by default and thus

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Pali Rohár
On Thursday 28 May 2015 16:27:44 Krzysztof Opasiak wrote: > > > On 05/28/2015 09:47 AM, Pali Rohár wrote: > >On Saturday 31 January 2015 10:53:30 Pali Rohár wrote: > >>This patch adds removable mass storage support to g_nokia gadget (for N900). > >>It means that at runtime block device can be exp

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Krzysztof Opasiak
On 05/28/2015 04:31 PM, Pali Rohár wrote: On Thursday 28 May 2015 16:27:44 Krzysztof Opasiak wrote: On 05/28/2015 09:47 AM, Pali Rohár wrote: On Saturday 31 January 2015 10:53:30 Pali Rohár wrote: This patch adds removable mass storage support to g_nokia gadget (for N900). It means that at

Re: [PATCH 1/1] usb: Remove Vernier devices from lsusb and hid_ignore_list

2015-05-28 Thread Jiri Kosina
On Thu, 21 May 2015, Dennis O'Brien wrote: > From: Dennis O'Brien > > Removes Vernier Software & Technology devices from the ldusb > driver and the hid_ignore_list table of the usbhid driver in the > Linux tree. These devices will now be supported via the hidraw > driver. > > A user space driv

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Pali Rohár
On Thursday 28 May 2015 16:51:07 Krzysztof Opasiak wrote: > > > On 05/28/2015 04:31 PM, Pali Rohár wrote: > >On Thursday 28 May 2015 16:27:44 Krzysztof Opasiak wrote: > >> > >> > >>On 05/28/2015 09:47 AM, Pali Rohár wrote: > >>>On Saturday 31 January 2015 10:53:30 Pali Rohár wrote: > This pat

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-28 Thread Alan Stern
On Thu, 28 May 2015, Felipe Balbi wrote: > On Thu, May 28, 2015 at 11:09:38AM +0530, Sudip Mukherjee wrote: > > On Wed, May 27, 2015 at 08:21:16AM -0700, Greg KH wrote: > > > On Wed, May 27, 2015 at 11:16:34AM -0400, Alan Stern wrote: > > > > On Wed, 27 May 2015, Heikki Krogerus wrote: > > > > >

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-28 Thread Greg KH
On Thu, May 28, 2015 at 11:09:38AM +0530, Sudip Mukherjee wrote: > On Wed, May 27, 2015 at 08:21:16AM -0700, Greg KH wrote: > > On Wed, May 27, 2015 at 11:16:34AM -0400, Alan Stern wrote: > > > On Wed, 27 May 2015, Heikki Krogerus wrote: > > > > Maybe we need to test for this in the driver core, n

Re: [PATCH 1/1] usb: Remove Vernier devices from lsusb and hid_ignore_list

2015-05-28 Thread Greg KH
On Thu, May 28, 2015 at 04:58:54PM +0200, Jiri Kosina wrote: > On Thu, 21 May 2015, Dennis O'Brien wrote: > > > From: Dennis O'Brien > > > > Removes Vernier Software & Technology devices from the ldusb > > driver and the hid_ignore_list table of the usbhid driver in the > > Linux tree. These de

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Felipe Balbi
On Thu, May 28, 2015 at 04:59:18PM +0200, Pali Rohár wrote: > On Thursday 28 May 2015 16:51:07 Krzysztof Opasiak wrote: > > > > > > On 05/28/2015 04:31 PM, Pali Rohár wrote: > > >On Thursday 28 May 2015 16:27:44 Krzysztof Opasiak wrote: > > >> > > >> > > >>On 05/28/2015 09:47 AM, Pali Rohár wrote

Re: USB Host Controller no PCD interrupt and CCS and CSC update on the device disconnect

2015-05-28 Thread Alan Stern
On Thu, 28 May 2015, Rong Wang wrote: > Thanks for this Device side information. But there's one thing I'm > still not quite sure > What's the behavior of the USB device when the VBUS is always present > while the D+/D- differential signal amplitude exceeds the > disconnection threshold (525 mV)?

Re: Disk access keeps causing serial/USB failures?

2015-05-28 Thread Alan Stern
On Thu, 28 May 2015, Marc MERLIN wrote: > On Tue, May 19, 2015 at 10:56:39AM -0700, Marc MERLIN wrote: > > On Tue, May 19, 2015 at 01:21:30PM -0400, Alan Stern wrote: > > > This strongly suggests that the problem lies in the hubs (or in one of > > > them). Something caused a hub to disconnect, a

Re: ehci_bus_suspend system halt

2015-05-28 Thread Alan Stern
On Thu, 28 May 2015, Michael Trimarchi wrote: > Hi Alan > > we are working on a samsung exysnos5430 device and we have some problem > during suspend. The only way to solve it seems this patch. > We don't really know what could be the problem. Do you have any suggestion > to debug it? > > diff --

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-05-28 Thread Pali Rohár
On Thursday 28 May 2015 18:34:31 Felipe Balbi wrote: > On Thu, May 28, 2015 at 04:59:18PM +0200, Pali Rohár wrote: > > On Thursday 28 May 2015 16:51:07 Krzysztof Opasiak wrote: > > > On 05/28/2015 04:31 PM, Pali Rohár wrote: > > > >On Thursday 28 May 2015 16:27:44 Krzysztof Opasiak wrote: > > > >>O

Re: [PATCH 8/9] bus: brcmstb_gisb: Honor the "big-endian" and "native-endian" DT properties

2015-05-28 Thread Florian Fainelli
Le 11/25/14 16:49, Kevin Cernekee a écrit : > On chips strapped for BE, we'll need to use ioread32be/iowrite32be instead of > ioread32/iowrite32. > > Signed-off-by: Kevin Cernekee Applied to soc/next, thanks! -- Florian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in

[PATCH v1] usb: dwc2: gadget: fix a memory use-after-free bug

2015-05-28 Thread Yunzhi Li
When s3c_hsotg_handle_unaligned_buf_complete() hs_req->req.buf already destroyed, in s3c_hsotg_unmap_dma(), it touches hs_req->req.dma again, so s3c_hsotg_unmap_dma() should be called before s3c_hsotg_handle_unaligned_buf_complete(). Otherwise, it will cause a bad_page BUG, when allocate this memor

RE: [PATCH v1] usb: dwc2: gadget: fix a memory use-after-free bug

2015-05-28 Thread Kaukab, Yousaf
> -Original Message- > From: Yunzhi Li [mailto:l...@rock-chips.com] > Sent: Friday, May 29, 2015 1:22 PM > To: johny...@synopsys.com > Cc: he...@sntech.de; c...@rock-chips.com; h...@rock-chips.com; yk@rock- > chips.com; gaura...@google.com; albe...@google.com; w...@rock-chips.com; > jwer...

[PATCH] drivers:usb:fsl: Fix compilation error for fsl ehci drv

2015-05-28 Thread Ramneek Mehresh
Fix compilation error in fsl ehci drv because ehci_reset() and ehci_adjust_port_wakeup_flags() were not exported, and are used when PM is enabled Signed-off-by: Ramneek Mehresh --- drivers/usb/host/ehci-hcd.c | 3 ++- drivers/usb/host/ehci-hub.c | 3 ++- drivers/usb/host/ehci.h | 3 +++ 3 fi