Hello....!!

2016-08-18 Thread Paul Josel
DEAR FRIEND,PLEASE URGENT RESPONSE! I am Dr Paul Josel,the Audit and Account Manager (A.D.B)Bank in Ouagadougou Burkina Faso,west africa I have a business transaction for you.In my department i discovered an abandoned Sum of US$10.2 Million Dollars.In an account that belongs to one of our

[PATCH,v2] usb: hub: change CLEAR_FEATURE to SET_FEATURE

2016-08-18 Thread Yonglong Wu
From: Yonglong Wu In USB20 specification, describes in chapter 9.4.5: The Remote Wakeup field can be modified by the SetFeature() and ClearFeature() requests using the DEVICE_REMOTE_WAKEUP feature selector. In USB30 specification, also describes in chapter 9.4.5: The

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-18 Thread Bin Liu
Hi, On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: > Hello all: > I recently add a support for customize am3358 board using the branch > processor-sdk-linux-03.00.00 from Ti git. But I meet a problem with musb > at the peripheral mode. > I have force usb1 in peripheral mode in dts as

[GIT PULL] usb: chipidea fixes for v4.8

2016-08-18 Thread Peter Chen
The following changes since commit f1f6d9a8b540df22b87a5bf6bc104edaade81f47: xhci: don't dereference a xhci member after removing xhci (2016-08-16 09:42:47 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb.git/ tags/usb-ci-v4.8-rc3

Re: [PATCH V2 RFC 0/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 18. August 2016 um 20:14 geschrieben: > > > Stefan Wahren writes: > > > This patch series is only a draft and not intended to be merged. Patches 1 > > and 2 > > aren't bcm2835 specific and should be helpful for other

Re: [PATCH] scsi: introduce a quirk for false cache reporting

2016-08-18 Thread Martin K. Petersen
> "Oliver" == Oliver Neukum writes: Oliver> Some SATA to USB bridges fail to cooperate with some drives Oliver> resulting in no cache being present being reported to the Oliver> host. That causes the host to skip sending a command to Oliver> synchronize caches. That causes

[PATCH] Documentation: dt: dwc3: note the supported phy-names

2016-08-18 Thread Brian Norris
The dwc3 driver expicitly looks for "usb2-phy" or "usb3-phy", but we never noted these names in the documentation. Signed-off-by: Brian Norris --- Documentation/devicetree/bindings/usb/dwc3.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH V2 RFC 6/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread Stefan Wahren
Hi John, > John Youn hat am 18. August 2016 um 20:03 > geschrieben: > > > On 8/17/2016 3:17 PM, Stefan Wahren wrote: > > Hi John, > > > >> John Youn hat am 17. August 2016 um 23:21 > >> geschrieben: > >> > >> > >> ... > >> Ok, yeah, that seems

[PATCH 1/4] usb: musb: Implement session bit based runtime PM for musb-core

2016-08-18 Thread Tony Lindgren
We want to keep musb enabled always when the session bit is set. This simplifies the PM runtime and allows making it more generic across the various glue layers. So far the only exception to just following the session bit is host mode disconnect where the session bit stays set. In that case,

Re: [PATCH V2 RFC 0/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread Eric Anholt
Stefan Wahren writes: > This patch series is only a draft and not intended to be merged. Patches 1 > and 2 > aren't bcm2835 specific and should be helpful for other platforms. > The patches 2 - 4 are required for otg / gadget mode. The last patch > based on the work of

[PATCH 0/4] Implement PM runtime for musb-core based on session bit

2016-08-18 Thread Tony Lindgren
Hi all, Here's a series of patches to simplify musb PM runtime support further. I finally figured out that we can get rid of most of the glue layer specific workarounds by following the devctl session bit in musb core. The series also adds PM runtime support to the musb dsps glue layer for the

Re: [PATCH V2 RFC 0/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread Eric Anholt
Stefan Wahren writes: > Hi Eric, > >> Eric Anholt hat am 18. August 2016 um 20:14 geschrieben: >> >> >> Stefan Wahren writes: >> >> > This patch series is only a draft and not intended to be merged. Patches 1 >> > and 2 >> >

Re: [PATCH V2 RFC 2/6] usb: dwc2: Add DT properties to specify fifo size in host/otg mode

2016-08-18 Thread John Youn
On 7/26/2016 11:54 AM, Stefan Wahren wrote: > Currently the fifo sizes for host/otg mode are defined per platform > and doesn't take the mode into account. So we will get errors > like this: > > dwc2 2098.usb: 256 invalid for host_nperio_tx_fifo_size. > dwc2 2098.usb: Setting

Re: [PATCH V2 RFC 6/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread John Youn
On 8/18/2016 12:04 PM, Stefan Wahren wrote: > Hi John, > >> John Youn hat am 18. August 2016 um 20:03 >> geschrieben: >> >> >> On 8/17/2016 3:17 PM, Stefan Wahren wrote: >>> Hi John, >>> John Youn hat am 17. August 2016 um 23:21

[PATCH 2/4] usb: musb: Prepare dsps glue layer for PM runtime support

2016-08-18 Thread Tony Lindgren
We want to be polling the state when nothing is connected. Let's change the polling logic in preparation for PM runtime support. Signed-off-by: Tony Lindgren --- drivers/usb/musb/musb_dsps.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff

[PATCH 4/4] usb: musb: Simplify PM runtime for 2430 glue layer

2016-08-18 Thread Tony Lindgren
With musb core now blocking PM based on the devctl status bit, we can remove related quirks from the 2430 glue layer and simplify PM runtime further. Lets's also use musb->controller instead of dev to make it clear we make the PM runtime calls for the core, not the glue layer. And we can now

[PATCH 3/4] usb: musb: Add PM runtime support for MUSB DSPS glue layer

2016-08-18 Thread Tony Lindgren
We can now just use PM runtime autoidle support as musb core keeps things enabled when the devctl session bit is set. And there's no need for dsps_musb_try_idle() so let's just remove it. Note that as cppi41 dma is clocked by musb, this only makes PM work for dsps glue layer if

Re: [PATCH V2 RFC 6/6] ARM: dts: bcm2835: Add Raspberry Pi Zero

2016-08-18 Thread John Youn
On 8/17/2016 3:17 PM, Stefan Wahren wrote: > Hi John, > >> John Youn hat am 17. August 2016 um 23:21 >> geschrieben: >> >> >> ... >> Ok, yeah, that seems better. >> >> Can you check if applying just patch 2 and 3 solves the issue? If so I >> think we can send those

[PATCH] usb: musb: Fix locking errors for host only mode

2016-08-18 Thread Tony Lindgren
If we have USB gadgets disabled and USB_MUSB_HOST set, we get errors "possible irq lock inverssion dependency detected" errors during boot. Let's fix the issue by adding start_musb flag and start the controller after we're out of the spinlock protected section. Reported-by: Ladislav Michl

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-18 Thread Santosh Shilimkar
Hi Russell, On 8/18/2016 7:24 AM, Russell King - ARM Linux wrote: On Wed, Aug 17, 2016 at 03:05:17PM +0300, Roger Quadros wrote: Since commit 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address translation"), dma_to_pfn() already returns the PFN with the physical memory start offset

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-18 Thread Russell King - ARM Linux
On Thu, Aug 18, 2016 at 09:55:55AM -0700, Santosh Shilimkar wrote: > Hi Russell, > > On 8/18/2016 7:24 AM, Russell King - ARM Linux wrote: > >On Wed, Aug 17, 2016 at 03:05:17PM +0300, Roger Quadros wrote: > >>Since commit 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address >

Re: [PATCH] usb: phy: mxs: Add DT bindings to configure TX settings

2016-08-18 Thread Rob Herring
On Tue, Aug 16, 2016 at 06:31:48PM -0400, Jaret Cantu wrote: > The TX settings can be calibrated for particular hardware. The > phy is reset by Linux, so this cannot be handled by the bootloader. > > The TRM mentions that the maximum resistance should be used for the > DN/DP calibration in order

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 03:18 PM, Felipe Balbi wrote: > Hi, > > Binyamin Sharet writes: > > [...] > >> Many USB host implementations, including at least older versions of >> Linux, >> have bugs in the enumeration phase. While I cannot pinpoint a ToC/ToU >> vulnerability

Re: [Umap2][11/11][9022:d483] kernel is unable to handle paging address

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 03:23 PM, Felipe Balbi wrote: > Hi, > > Binyamin Sharet writes: >> On 08/18/2016 01:39 PM, Oliver Neukum wrote: >>> On Wed, 2016-08-17 at 14:39 +0300, Binyamin Sharet wrote: On 08/16/2016 04:52 PM, Binyamin Sharet wrote: > Kernel version: raspberrypi

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-18 Thread Russell King - ARM Linux
On Wed, Aug 17, 2016 at 03:05:17PM +0300, Roger Quadros wrote: > Since commit 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address > translation"), > dma_to_pfn() already returns the PFN with the physical memory start offset > so we don't need to add it again. > > This fixes USB mass

[PATCH 1/3] usb: core: use IS_ENABLED() instead of checking for built-in or module

2016-08-18 Thread Javier Martinez Canillas
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either built-in or as a module, use that macro instead of open coding the same. Using the macro makes the code more readable by helping abstract away some of the Kconfig built-in and module enable details. Signed-off-by: Javier

[PATCH 2/3] usb: gadget: use IS_ENABLED() instead of checking for built-in or module

2016-08-18 Thread Javier Martinez Canillas
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either built-in or as a module, use that macro instead of open coding the same. Using the macro makes the code more readable by helping abstract away some of the Kconfig built-in and module enable details. Signed-off-by: Javier

Re: [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: [...] > diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c > index 2e960ed..2ec3eff 100644 > --- a/drivers/usb/dwc3/host.c > +++ b/drivers/usb/dwc3/host.c > @@ -17,8 +17,11 @@ > > #include >

Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-08-18 Thread Felipe Balbi
Hi Baolin, Baolin Wang writes: > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c > index e2e2487..162f17c 100644 > --- a/drivers/usb/host/xhci-plat.c > +++ b/drivers/usb/host/xhci-plat.c > @@ -250,6 +250,9 @@ static int

Re: [PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking for built-in or module

2016-08-18 Thread Felipe Balbi
Hi, Felipe Balbi writes: > Hi, > > Javier Martinez Canillas writes: >> The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either >> built-in or as a module, use that macro instead of open coding the same. >> >> Using the

Re: [PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking for built-in or module

2016-08-18 Thread Felipe Balbi
Hi, Javier Martinez Canillas writes: > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Using the macro makes the code more readable by helping abstract away some > of

[PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking for built-in or module

2016-08-18 Thread Javier Martinez Canillas
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either built-in or as a module, use that macro instead of open coding the same. Using the macro makes the code more readable by helping abstract away some of the Kconfig built-in and module enable details. Signed-off-by: Javier

Re: [PATCH v5 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-08-18 Thread Guenter Roeck
On 08/17/2016 11:33 PM, Felipe Balbi wrote: Hi, Peter Chen writes: On Wed, Aug 17, 2016 at 03:53:24PM +0300, Felipe Balbi wrote: Hi, Heikki Krogerus writes: [...] +static struct platform_driver wcove_typec_driver = { +

Re: pwc over musb: 100% frame drop (lost) on high resolution stream

2016-08-18 Thread Matwey V. Kornilov
Any ideas? 2016-08-04 23:08 GMT+03:00 Matwey V. Kornilov : > When DMA is not used, I see the same behavior: lots of zero-length > packages received. > > Can It be related to some kind of USB overflow due to long input data > processing with disabled IRQ? > When HCD_BC is used

Re: [RFC PATCH v2 0/4] Type-C Port Manager

2016-08-18 Thread Guenter Roeck
On Thu, Aug 18, 2016 at 12:43 AM, Oliver Neukum wrote: > On Wed, 2016-08-17 at 15:04 -0700, Guenter Roeck wrote: >> The following series of patches implements a USB Type-C Port Manager >> using the pending USB Type-C class code as basis. The code is still >> WIP, >> but I think

Re: bug : Specific USB activity causes crash

2016-08-18 Thread Filip Ayazi
On 08/18/2016 09:20 AM, Mathias Nyman wrote: > On 18.08.2016 09:27, Felipe Balbi wrote: >> >> Hi, >> >> Greg KH writes: >>> On Wed, Aug 17, 2016 at 09:56:02PM +0200, Filip Ayazi wrote: Forwarding bug report from bugzilla #153211 as requested: System

Re: [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-08-18 Thread Baolin Wang
Hi Felipe, On 18 August 2016 at 20:25, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi Felipe, >> >> On 18 August 2016 at 15:33, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: For

Re: [Umap2][4/11][0557:2002] NULL pointer dereference

2016-08-18 Thread Oliver Neukum
On Thu, 2016-08-18 at 15:41 +0300, Binyamin Sharet wrote: > On 08/18/2016 12:12 PM, Oliver Neukum wrote: > > On Thu, 2016-08-18 at 12:10 +0300, Binyamin Sharet wrote: > >> On 08/18/2016 12:02 PM, Oliver Neukum wrote: > >>> On Thu, 2016-08-18 at 12:03 +0300, Binyamin Sharet wrote: > On

Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-08-18 Thread Baolin Wang
Hi Felipe, On 18 August 2016 at 20:25, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi Felipe, >> >> On 18 August 2016 at 15:18, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Baolin Wang writes: Now

Re: [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi Felipe, > > On 18 August 2016 at 15:33, Felipe Balbi wrote: >> >> Hi, >> >> Baolin Wang writes: >>> For some mobile devices with strict power management, we also want to >>> suspend >>> the host

Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi Felipe, > > On 18 August 2016 at 15:18, Felipe Balbi wrote: >> >> Hi, >> >> Baolin Wang writes: >>> Now some usb controllers (such as dwc3 controller) need 'XHCI_SLOW_SUSPEND' >>> quirk when

Re: [Umap2][11/11][9022:d483] kernel is unable to handle paging address

2016-08-18 Thread Felipe Balbi
Hi, Binyamin Sharet writes: > On 08/18/2016 01:39 PM, Oliver Neukum wrote: >> On Wed, 2016-08-17 at 14:39 +0300, Binyamin Sharet wrote: >>> On 08/16/2016 04:52 PM, Binyamin Sharet wrote: Kernel version: raspberrypi 4.4.6-v7+ #871 Driver source file:

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Felipe Balbi
Hi, Binyamin Sharet writes: [...] > Many USB host implementations, including at least older versions of Linux, > have bugs in the enumeration phase. While I cannot pinpoint a ToC/ToU > vulnerability in the configuration descriptor at the moment, I found more

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 01:25 PM, Felipe Balbi wrote: > Hi, > > Binyamin Sharet writes: I get your point, what I propose is not to change the default behavior of gadgetfs, but allow it to enter to a special mode by the user. I am aware of the issues

Re: [Umap2][11/11][9022:d483] kernel is unable to handle paging address

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 01:39 PM, Oliver Neukum wrote: > On Wed, 2016-08-17 at 14:39 +0300, Binyamin Sharet wrote: >> On 08/16/2016 04:52 PM, Binyamin Sharet wrote: >>> Kernel version: raspberrypi 4.4.6-v7+ #871 >>> Driver source file: drivers/media/usb/dvb-usb/dw2102.c >>> Umap2 command line: umap2vsscan

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-18 Thread Heikki Krogerus
On Wed, Aug 17, 2016 at 10:58:40AM -0700, Guenter Roeck wrote: > On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > > unified interface for the user space to get the status and > > basic information about USB Type-C

Re: [Umap2][11/11][9022:d483] kernel is unable to handle paging address

2016-08-18 Thread Oliver Neukum
On Wed, 2016-08-17 at 14:39 +0300, Binyamin Sharet wrote: > On 08/16/2016 04:52 PM, Binyamin Sharet wrote: > > Kernel version: raspberrypi 4.4.6-v7+ #871 > > Driver source file: drivers/media/usb/dvb-usb/dw2102.c > > Umap2 command line: umap2vsscan -P -s 9022:d483 > > > > After connecting such a

Re: [PATCH v5 1/2] usb: USB Type-C connector class

2016-08-18 Thread Heikki Krogerus
On Wed, Aug 17, 2016 at 10:53:11AM -0700, Guenter Roeck wrote: > On Wed, Aug 17, 2016 at 01:34:40PM +0300, Heikki Krogerus wrote: > > The purpose of USB Type-C connector class is to provide > > unified interface for the user space to get the status and > > basic information about USB Type-C

Re: [Umap2][7/11][160a:3184] NULL pointer dereference

2016-08-18 Thread Oliver Neukum
On Wed, 2016-08-17 at 14:34 +0300, Binyamin Sharet wrote: > > After connecting such a device, NULL pointer dereference in the > kernel. > > You may need to connect another device or two after this one to > trigger > > the oops. > > > > Binyamin Sharet > > Cisco, STARE-C > > > > << Attached:

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Felipe Balbi
Hi, Binyamin Sharet writes: >>> I get your point, what I propose is not to change the default behavior >>> of gadgetfs, >>> but allow it to enter to a special mode by the user. I am aware of the >>> issues that it >>> might raise, and understand your

Re: [PATCH v2 4/7] phy-sun4i-usb: Add support for phy_set_mode

2016-08-18 Thread Felipe Balbi
Hi, Hans de Goede writes: [...] > void sun4i_usb_phy_set_squelch_detect(struct phy *_phy, bool enabled) > { > struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); [...] $ scripts/checkpatch.pl

Re: your patch "USB: validate wMaxPacketValue entries in endpoint descriptors"

2016-08-18 Thread Greg KH
On Thu, Aug 18, 2016 at 11:17:18AM +0200, Oliver Neukum wrote: > Hi, > > I was wondering about the fate of this patch. > As it fixes a security issue it should even go into > atable and I fear it has been lost. It will go to Linus tomorrow, and then can go into the stable trees. It's in

your patch "USB: validate wMaxPacketValue entries in endpoint descriptors"

2016-08-18 Thread Oliver Neukum
Hi, I was wondering about the fate of this patch. As it fixes a security issue it should even go into atable and I fear it has been lost. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to

Re: [Umap2][4/11][0557:2002] NULL pointer dereference

2016-08-18 Thread Oliver Neukum
On Thu, 2016-08-18 at 12:10 +0300, Binyamin Sharet wrote: > On 08/18/2016 12:02 PM, Oliver Neukum wrote: > > On Thu, 2016-08-18 at 12:03 +0300, Binyamin Sharet wrote: > >> On 08/18/2016 11:37 AM, Oliver Neukum wrote: > >>> On Wed, 2016-08-17 at 17:33 +0300, Binyamin Sharet wrote: > On

Re: [Umap2][4/11][0557:2002] NULL pointer dereference

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 12:02 PM, Oliver Neukum wrote: > On Thu, 2016-08-18 at 12:03 +0300, Binyamin Sharet wrote: >> On 08/18/2016 11:37 AM, Oliver Neukum wrote: >>> On Wed, 2016-08-17 at 17:33 +0300, Binyamin Sharet wrote: On 08/17/2016 05:19 PM, Oliver Neukum wrote: > On Wed, 2016-08-17 at 17:07

Re: [RESEND PATCH v5 1/1] USB: serial: cp210x: Adding GPIO support for CP2105

2016-08-18 Thread Martyn Welch
On 18/08/16 10:02, Johan Hovold wrote: On Thu, Aug 18, 2016 at 09:52:22AM +0100, Martyn Welch wrote: Johan, back in May you said: I have three patches in my queue that didn't make the cut due to lack off time on my side. They're at the top of the list. Sorry about the delay. Yet I've heard

Re: [PATCH v2 4/7] phy-sun4i-usb: Add support for phy_set_mode

2016-08-18 Thread Hans de Goede
HI, On 18-08-16 09:40, Felipe Balbi wrote: Hi, Hans de Goede writes: Hi, On 08/16/2016 03:48 PM, Sergei Shtylyov wrote: Hello. On 08/15/2016 10:21 PM, Hans de Goede wrote: Together with some musb sunxi glue changes this allows run-time dr_mode switching support via

Re: [RESEND PATCH v5 1/1] USB: serial: cp210x: Adding GPIO support for CP2105

2016-08-18 Thread Johan Hovold
On Thu, Aug 18, 2016 at 09:52:22AM +0100, Martyn Welch wrote: > Johan, back in May you said: > > I have three patches in my queue that didn't make the cut due to lack > off time on my side. They're at the top of the list. > > Sorry about the delay. > > Yet I've heard nothing since. Is there

Re: [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-08-18 Thread Baolin Wang
Hi Felipe, On 18 August 2016 at 15:33, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> For some mobile devices with strict power management, we also want to suspend >> the host when the slave is detached for power saving. >> >> Thus we add the

Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-08-18 Thread Baolin Wang
Hi Felipe, On 18 August 2016 at 15:18, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Now some usb controllers (such as dwc3 controller) need 'XHCI_SLOW_SUSPEND' >> quirk when suspending the xhci, thus we need to add 'usb3_slow_suspend' >>

Re: [RESEND PATCH v5 1/1] USB: serial: cp210x: Adding GPIO support for CP2105

2016-08-18 Thread Martyn Welch
Johan, back in May you said: I have three patches in my queue that didn't make the cut due to lack off time on my side. They're at the top of the list. Sorry about the delay. Yet I've heard nothing since. Is there something wrong with this patch? Martyn On 22/07/16 11:33, Martyn Welch wrote:

Re: [Umap2][4/11][0557:2002] NULL pointer dereference

2016-08-18 Thread Oliver Neukum
On Wed, 2016-08-17 at 17:33 +0300, Binyamin Sharet wrote: > On 08/17/2016 05:19 PM, Oliver Neukum wrote: > > On Wed, 2016-08-17 at 17:07 +0300, Binyamin Sharet wrote: > >> Downloading firmware... > >> Firmware loaded. I'll be back... > >> probe of 1-1.1:1.0 failed with error -5 > >> > >> after

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Binyamin Sharet
On 08/18/2016 10:44 AM, Felipe Balbi wrote: > Hi, > > Binyamin Sharet writes: >> Felipe, Greg, >> >> You wrote pretty much the same things on two separate threads, >> so I will answer only here... >> >> On Tue, Aug 16, 2016 at 1:51 PM, Felipe Balbi >>

Re: [PATCH net-next] cdc_ether: Improve ZTE MF823/831/910 handling

2016-08-18 Thread Oliver Neukum
On Mon, 2016-08-08 at 20:30 +0200, Bjørn Mork wrote: > Note that this doesn't include *every* ethernet driver, although there > certainly are some examples. There are also a number of serious > vendors, providing vendor supported drivers for cards with no known > issues of this kind. > > Where

Re: [RFC PATCH v2 0/4] Type-C Port Manager

2016-08-18 Thread Oliver Neukum
On Wed, 2016-08-17 at 15:04 -0700, Guenter Roeck wrote: > The following series of patches implements a USB Type-C Port Manager > using the pending USB Type-C class code as basis. The code is still > WIP, > but I think it is important to get feedback from the community at this > point. Hi, a

Re: Gadgetfs - adding support for delegation of setup requests

2016-08-18 Thread Felipe Balbi
Hi, Binyamin Sharet writes: > Felipe, Greg, > > You wrote pretty much the same things on two separate threads, > so I will answer only here... > > On Tue, Aug 16, 2016 at 1:51 PM, Felipe Balbi > wrote: >> >> Hi, >> >> Binyamin Sharet

Re: [PATCH v2 4/7] phy-sun4i-usb: Add support for phy_set_mode

2016-08-18 Thread Felipe Balbi
Hi, Hans de Goede writes: > Hi, > > On 08/16/2016 03:48 PM, Sergei Shtylyov wrote: >> Hello. >> >> On 08/15/2016 10:21 PM, Hans de Goede wrote: >> >>> Together with some musb sunxi glue changes this allows run-time dr_mode >>> switching support via the "mode" musb sysfs

Re: [PATCH/RFC 0/4] usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c

2016-08-18 Thread Felipe Balbi
Yoshihiro-san, Yoshihiro Shimoda writes: > This patch set is based on the latest Felipe's usb.git / testing/next branch. > (commit id = 15e4292a2d21e9997fdb2b8c014cc461b3f268f0) > > This patch set also needs an additional patch (like the end of this email) > to

Re: [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: > For some mobile devices with strict power management, we also want to suspend > the host when the slave is detached for power saving. > > Thus we add the host suspend/resume functions to support this requirement, and > we also should enable the

Re: [Umap2][5/11][22b8:2d93] NULL pointer dereference

2016-08-18 Thread Oliver Neukum
On Thu, 2016-08-18 at 10:11 +0300, Binyamin Sharet wrote: > Hi, > > On 08/17/2016 04:26 PM, Oliver Neukum wrote: > > On Tue, 2016-08-16 at 16:46 +0300, Binyamin Sharet wrote: > >> Kernel version: raspberrypi 4.4.6-v7+ #871 > >> Driver source file: drivers/usb/class/cdc-acm.c > >> Umap2 command

Re: [PATCH 1/4] usb: host: xhci: Move the xhci quirks checking to the right place

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: > It will reset the xhci quirks in xhci_gen_setup() function when xhci try to > add one hcd, thus we need to move the XHCI_LPM_SUPPORT quirk checking after > adding hcd. > > Signed-off-by: Baolin Wang > --- >

Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-08-18 Thread Felipe Balbi
Hi, Baolin Wang writes: > Now some usb controllers (such as dwc3 controller) need 'XHCI_SLOW_SUSPEND' > quirk when suspending the xhci, thus we need to add 'usb3_slow_suspend' member > in xhci platform data to support this. > > Signed-off-by: Baolin Wang

Re: [PATCH v4 08/10] usb: gadget: remove useless parameter in alloc_ep_req()

2016-08-18 Thread Felipe Balbi
Hi, "Felipe F. Tonello" writes: > The default_length parameter of alloc_ep_req was not really necessary > and gadget drivers would almost always create an inline function to pass > the same value to len and default_len. > > So this patch also removes duplicate code from

Re: bug : Specific USB activity causes crash

2016-08-18 Thread Mathias Nyman
On 18.08.2016 09:27, Felipe Balbi wrote: Hi, Greg KH writes: On Wed, Aug 17, 2016 at 09:56:02PM +0200, Filip Ayazi wrote: Forwarding bug report from bugzilla #153211 as requested: System crashes completely during or immediately after installing APK to android

Re: [Umap2][5/11][22b8:2d93] NULL pointer dereference

2016-08-18 Thread Binyamin Sharet
Hi, On 08/17/2016 04:26 PM, Oliver Neukum wrote: > On Tue, 2016-08-16 at 16:46 +0300, Binyamin Sharet wrote: >> Kernel version: raspberrypi 4.4.6-v7+ #871 >> Driver source file: drivers/usb/class/cdc-acm.c >> Umap2 command line: umap2vsscan -P -s 22b8:2d93 > Hi, > > could you retest this kernel

Re: [PATCH] usb: remove redundant dependency on USB_SUPPORT

2016-08-18 Thread Felipe Balbi
Hi, Masahiro Yamada writes: > 2016-08-16 16:29 GMT+09:00 Felipe Balbi : >> >> Hi, >> >> Masahiro Yamada writes: >>> The whole Kconfig entries of the USB subsystem are surrounded with >>> "if USB_SUPPORT" ...

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-18 Thread Felipe Balbi
Hi, ayaka writes: >> On 08/13/2016 01:44 AM, Greg KH wrote: >>> On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: >>> On 08/12/2016 03:40 PM, Greg KH wrote: > On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: > Hello all:

Re: [PATCH v5 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-08-18 Thread Felipe Balbi
Hi, Peter Chen writes: > On Wed, Aug 17, 2016 at 03:53:24PM +0300, Felipe Balbi wrote: >> >> Hi, >> >> Heikki Krogerus writes: >> >> [...] >> >> > +static struct platform_driver wcove_typec_driver = { >> > + .driver = { >> > +

Re: bug : Specific USB activity causes crash

2016-08-18 Thread Felipe Balbi
Hi, Greg KH writes: > On Wed, Aug 17, 2016 at 09:56:02PM +0200, Filip Ayazi wrote: >> Forwarding bug report from bugzilla #153211 as requested: >> >> System crashes completely during or immediately after installing APK to >> android >> phone over usb using android