Re: [PATCH] usb: gadget: gserial: check if console kthread exists

2017-04-28 Thread Baolin Wang
Hi, On 28 April 2017 at 21:26, Bogdan Mirea wrote: > In the current implementation we get a Kernel Oops when calling rmmod > for g_serial driver. This happens because the function that creates the > kthread (gs_console_setup) which should be called at driver

Re: USB-related lock inversion complaint

2017-04-28 Thread Alan Stern
On Fri, 28 Apr 2017, Bart Van Assche wrote: > Hello, > > Every time I boot a particular development server the complaint shown > below appears in the system log. I don't know when this behavior has > been introduced. But I noticed that I can reproduce this with older > kernel versions, e.g.

Re: VFS: busy inodes on changed media or resized disk sr0

2017-04-28 Thread Alan Stern
On Fri, 28 Apr 2017, Cristian wrote: > Hello, > > My Hardware is *new*: > http://www.ebay.com/itm/151327713134 Sometimes new hardware doesn't work right. If you want to know for sure, you can capture a usbmon trace of the activity on the DVD drive when this problem occurs. Alan Stern >

USB-related lock inversion complaint

2017-04-28 Thread Bart Van Assche
Hello, Every time I boot a particular development server the complaint shown below appears in the system log. I don't know when this behavior has been introduced. But I noticed that I can reproduce this with older kernel versions, e.g. 4.4.63. Does anyone know what is going on or how to fix this?

Re: VFS: busy inodes on changed media or resized disk sr0

2017-04-28 Thread Cristian
Hello, My Hardware is *new*: http://www.ebay.com/itm/151327713134 Regards, -- Cristian 2017-04-28 17:56 GMT-03:00 Alan Stern : > On Fri, 28 Apr 2017, Cristian wrote: > >> Hello, >> >> Message dmesg 4.11.0-041100rc8-generic: >> [ 383.133909] VFS: busy inodes on

usb 3-2: device not accepting address 3, error -71

2017-04-28 Thread Cristian
Hello, dmesg 4.11.0-041100rc8-generic: [ 5237.428490] usb 3-2: device not accepting address 3, error -71 Regards, -- Cristian [0.00] microcode: microcode updated early to revision 0x29, date = 2013-06-12 [0.00] Linux version 4.11.0-041100rc8-generic (kernel@gloin) (gcc version

Re: usb usb4-port2: cannot disable (err = -32)

2017-04-28 Thread Cristian
Hello, Attach dmesg 4.11.0-041100rc8-generic [ 5237.200521] usb usb4-port2: cannot disable (err = -32) Regards, -- Cristian 2017-04-27 22:44 GMT-03:00 Alan Stern : > On Fri, 28 Apr 2017, Chunfeng Yun wrote: > >> Hi, >> >> This is introduced by patch in core/hub.c:

Re: VFS: busy inodes on changed media or resized disk sr0

2017-04-28 Thread Alan Stern
On Fri, 28 Apr 2017, Cristian wrote: > Hello, > > Message dmesg 4.11.0-041100rc8-generic: > [ 383.133909] VFS: busy inodes on changed media or resized disk sr0 > [ 451.239627] VFS: busy inodes on changed media or resized disk sr0 > [ 469.293872] VFS: busy inodes on changed media or resized

VFS: busy inodes on changed media or resized disk sr0

2017-04-28 Thread Cristian
Hello, Message dmesg 4.11.0-041100rc8-generic: [ 383.133909] VFS: busy inodes on changed media or resized disk sr0 [ 451.239627] VFS: busy inodes on changed media or resized disk sr0 [ 469.293872] VFS: busy inodes on changed media or resized disk sr0 Regards, -- Cristian [0.00]

Re: [PATCH] net: hso: register netdev later to avoid a race condition

2017-04-28 Thread David Miller
From: Andreas Kemnade Date: Wed, 26 Apr 2017 19:26:40 +0200 > If the netdev is accessed before the urbs are initialized, > there will be NULL pointer dereferences. That is avoided by > registering it when it is fully initialized. > > This case occurs e.g. if dhcpcd is

Re: [PATCH] net: hso: register netdev later to avoid a race condition

2017-04-28 Thread Johan Hovold
On Fri, Apr 28, 2017 at 07:36:29PM +0200, Andreas Kemnade wrote: > On Thu, 27 Apr 2017 10:44:01 +0200 > Johan Hovold wrote: > > > On Wed, Apr 26, 2017 at 07:26:40PM +0200, Andreas Kemnade wrote: > > > If the netdev is accessed before the urbs are initialized, > > > there will

Re: [PATCH] net: hso: register netdev later to avoid a race condition

2017-04-28 Thread Andreas Kemnade
On Thu, 27 Apr 2017 10:44:01 +0200 Johan Hovold wrote: > On Wed, Apr 26, 2017 at 07:26:40PM +0200, Andreas Kemnade wrote: > > If the netdev is accessed before the urbs are initialized, > > there will be NULL pointer dereferences. That is avoided by > > registering it when it is

Re: [PATCH v7 1/3] staging: typec: USB Type-C Port Manager (tcpm)

2017-04-28 Thread Guenter Roeck
On Fri, Apr 28, 2017 at 8:50 AM, Greg Kroah-Hartman wrote: > On Fri, Apr 28, 2017 at 06:14:44AM -0700, Guenter Roeck wrote: >> On 04/28/2017 12:28 AM, Greg Kroah-Hartman wrote: >> > On Thu, Apr 27, 2017 at 02:09:56PM -0700, Guenter Roeck wrote: >> > > --- /dev/null >>

[PATCH] usb: musb: musb_cppi41: Update an error message

2017-04-28 Thread Alexandre Bailon
If dma_request_slave_channel() failed to return a channel, then the driver will print an error and request to defer probe. Update the error message to explain we are defrering probe. Signed-off-by: Alexandre Bailon --- drivers/usb/musb/musb_cppi41.c | 1 + 1 file changed,

Re: [PATCH v7 1/3] staging: typec: USB Type-C Port Manager (tcpm)

2017-04-28 Thread Greg Kroah-Hartman
On Fri, Apr 28, 2017 at 06:14:44AM -0700, Guenter Roeck wrote: > On 04/28/2017 12:28 AM, Greg Kroah-Hartman wrote: > > On Thu, Apr 27, 2017 at 02:09:56PM -0700, Guenter Roeck wrote: > > > --- /dev/null > > > +++ b/drivers/staging/typec/pd.h > > > @@ -0,0 +1,281 @@ > > > +/* > > > + * Copyright

[PATCH v8 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 00/15] Replace PCI pool by DMA pool API

2017-04-28 Thread Romain Perier
by the dma pool API and remove the defines. Changes in v8: - Rebased series onto next-20170428 Changes in v7: - Rebased series onto next-20170416 - Added Acked-by, Tested-by and Reviwed-by tags Changes in v6: - Fixed an issue reported by kbuild test robot about changes in DAC960 - Removed patches

[PATCH v8 03/15] IB/mthca: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 04/15] net: e100: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher

[PATCH v8 01/15] block: DAC960: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 05/15] mlx4: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 07/15] wireless: ipw2200: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c |

[PATCH v8 06/15] mlx5: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford

[PATCH v8 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 11/15] scsi: megaraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena

[PATCH v8 12/15] scsi: mpt3sas: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73

[PATCH v8 14/15] scsi: pmcraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 15/15] PCI: Remove PCI pool macro functions

2017-04-28 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git

[PATCH v8 10/15] scsi: lpfc: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

[PATCH v8 13/15] scsi: mvsas: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++---

[PATCH v8 09/15] scsi: csiostor: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna

Re: XHCI is slow during boot (bios/efi) and leaves many dmesg messages

2017-04-28 Thread Maël Lavault
On Fri, 2017-04-28 at 16:58 +0300, Mathias Nyman wrote: > On 21.04.2017 11:08, Maël Lavault wrote: > > On Tue, 2017-04-18 at 16:58 +0200, Maël Lavault wrote: > > > Hi, > > > > > > I can't find how to reply to an old thread with majordomo, sorry > > > for > > > the inconvenience it might cause. >

Re: XHCI is slow during boot (bios/efi) and leaves many dmesg messages

2017-04-28 Thread Mathias Nyman
On 21.04.2017 11:08, Maël Lavault wrote: On Tue, 2017-04-18 at 16:58 +0200, Maël Lavault wrote: Hi, I can't find how to reply to an old thread with majordomo, sorry for the inconvenience it might cause. I'm reposting an issue [0] that has been inactive for a few month but still present in

Re: [PATCH v3] usb: dwc3: add disable u2mac linestate check quirk

2017-04-28 Thread Rob Herring
On Wed, Apr 19, 2017 at 08:11:38PM +0800, William Wu wrote: > This patch adds a quirk to disable USB 2.0 MAC linestate check > during HS transmit. Refer the dwc3 databook, we can use it for > some special platforms if the linestate not reflect the expected > line state(J) during transmission. > >

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Bin Liu
On Fri, Apr 28, 2017 at 04:15:09PM +0300, Matwey V. Kornilov wrote: > 2017-04-28 15:43 GMT+03:00 Bin Liu : > > On Fri, Apr 28, 2017 at 03:13:55PM +0300, Matwey V. Kornilov wrote: > >> which i > >> > >> 2017-04-28 14:58 GMT+03:00 Bin Liu : > >> > On Fri, Apr 28, 2017 at

[PATCH] usb: gadget: gserial: check if console kthread exists

2017-04-28 Thread Bogdan Mirea
In the current implementation we get a Kernel Oops when calling rmmod for g_serial driver. This happens because the function that creates the kthread (gs_console_setup) which should be called at driver probing is never called for ttyGS* resulting in a null info->console_thread pointer. Noticed

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Matwey V. Kornilov
2017-04-28 15:43 GMT+03:00 Bin Liu : > On Fri, Apr 28, 2017 at 03:13:55PM +0300, Matwey V. Kornilov wrote: >> which i >> >> 2017-04-28 14:58 GMT+03:00 Bin Liu : >> > On Fri, Apr 28, 2017 at 10:04:30AM +0300, Matwey V. Kornilov wrote: >> >> 2017-04-27 20:13 GMT+03:00

Re: [PATCH v7 1/3] staging: typec: USB Type-C Port Manager (tcpm)

2017-04-28 Thread Guenter Roeck
On 04/28/2017 12:28 AM, Greg Kroah-Hartman wrote: On Thu, Apr 27, 2017 at 02:09:56PM -0700, Guenter Roeck wrote: --- /dev/null +++ b/drivers/staging/typec/pd.h @@ -0,0 +1,281 @@ +/* + * Copyright 2015-2017 Google, Inc + * + * This program is free software; you can redistribute it and/or modify

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Bin Liu
On Fri, Apr 28, 2017 at 03:13:55PM +0300, Matwey V. Kornilov wrote: > which i > > 2017-04-28 14:58 GMT+03:00 Bin Liu : > > On Fri, Apr 28, 2017 at 10:04:30AM +0300, Matwey V. Kornilov wrote: > >> 2017-04-27 20:13 GMT+03:00 Bin Liu : > >> > On Thu, Apr 27, 2017 at

Re: USB: serial: ftdi_sio: fix extreme low-latency setting

2017-04-28 Thread Greg KH
On Fri, Apr 28, 2017 at 02:34:17PM +0200, Anthony Mallet wrote: > On Friday 28 Apr 2017, at 14:11, Greg KH wrote: > | On Fri, Apr 28, 2017 at 11:27:20AM +0200, Anthony Mallet wrote: > | > Regarding this commit: > | > https://github.com/torvalds/linux/commit/c6dce262 > | > | Any reason you didn't

Re: USB: serial: ftdi_sio: fix extreme low-latency setting

2017-04-28 Thread Anthony Mallet
On Friday 28 Apr 2017, at 14:11, Greg KH wrote: | On Fri, Apr 28, 2017 at 11:27:20AM +0200, Anthony Mallet wrote: | > Regarding this commit: | > https://github.com/torvalds/linux/commit/c6dce262 | | Any reason you didn't cc: the author of that patch, and the person | that reported the original

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Matwey V. Kornilov
which i 2017-04-28 14:58 GMT+03:00 Bin Liu : > On Fri, Apr 28, 2017 at 10:04:30AM +0300, Matwey V. Kornilov wrote: >> 2017-04-27 20:13 GMT+03:00 Bin Liu : >> > On Thu, Apr 27, 2017 at 07:26:31PM +0300, Matwey V. Kornilov wrote: >> >> 2017-04-27 18:35 GMT+03:00 Bin Liu

Re: USB: serial: ftdi_sio: fix extreme low-latency setting

2017-04-28 Thread Greg KH
On Fri, Apr 28, 2017 at 11:27:20AM +0200, Anthony Mallet wrote: > Hello, > > Regarding this commit: > https://github.com/torvalds/linux/commit/c6dce262 Any reason you didn't cc: the author of that patch, and the person that reported the original issue that patch was trying to fix? > The change

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Bin Liu
On Fri, Apr 28, 2017 at 10:04:30AM +0300, Matwey V. Kornilov wrote: > 2017-04-27 20:13 GMT+03:00 Bin Liu : > > On Thu, Apr 27, 2017 at 07:26:31PM +0300, Matwey V. Kornilov wrote: > >> 2017-04-27 18:35 GMT+03:00 Bin Liu : > >> > Hi Matwey, > >> > > >> > On Thu, Apr 27,

Re: [PATCH v17 2/3] usb: USB Type-C connector class

2017-04-28 Thread Heikki Krogerus
On Thu, Apr 27, 2017 at 11:10:55AM -0700, Guenter Roeck wrote: > On Thu, Apr 27, 2017 at 11:50:12AM +0530, Rajaram R wrote: > > On Tue, Apr 25, 2017 at 7:40 PM, Guenter Roeck wrote: > > > On 04/25/2017 01:26 AM, Rajaram R wrote: > > >> > > >> On Mon, Apr 24, 2017 at 11:20 PM,

Re: [PATCH 1/1] usb: host: xhci-ring: don't need to clear interrupt pending for MSI enabled hcd

2017-04-28 Thread Mathias Nyman
On 28.04.2017 04:04, Peter Chen wrote: On Thu, Apr 27, 2017 at 03:43:28PM +0300, Mathias Nyman wrote: Hi On 27.04.2017 12:49, Peter Chen wrote: On Mon, Apr 17, 2017 at 04:20:43PM +0800, Peter Chen wrote: According to xHCI spec Figure 30: Interrupt Throttle Flow Diagram If PCI

Re: [PATCH v4] usb: typec: Don't prevent using constant typec_mode_desc initializers

2017-04-28 Thread Heikki Krogerus
On Fri, Apr 28, 2017 at 11:25:34AM +0200, Greg KH wrote: > On Wed, Apr 26, 2017 at 01:08:02PM +0300, Heikki Krogerus wrote: > > Hi Mats, > > > > On Tue, Apr 25, 2017 at 11:49:47PM +0200, Mats Karrman wrote: > > > In some situations, e.g. when registering alternate modes for local typec > > >

USB: serial: ftdi_sio: fix extreme low-latency setting

2017-04-28 Thread Anthony Mallet
Hello, Regarding this commit: https://github.com/torvalds/linux/commit/c6dce262 The change breaks things badly as regular users cannot programmatically get the previous 1ms latency setting anymore. This is even more harmful that distributions started to include this patch, e.g. in ubuntu 14.04.5

Re: [PATCH 9/9] [HSLPM] usb: dwc2: Enable LPM

2017-04-28 Thread Greg Kroah-Hartman
On Fri, Apr 28, 2017 at 12:56:42PM +0400, Sevak Arakelyan wrote: > From: John Youn > > Set 'lpm_capable' flag in the gadget structure so > indicating that LPM is supported. > > Signed-off-by: Sevak Arakelyan No signed-off-by from John? -- To

Re: [PATCH v4] usb: typec: Don't prevent using constant typec_mode_desc initializers

2017-04-28 Thread Greg KH
On Wed, Apr 26, 2017 at 01:08:02PM +0300, Heikki Krogerus wrote: > Hi Mats, > > On Tue, Apr 25, 2017 at 11:49:47PM +0200, Mats Karrman wrote: > > In some situations, e.g. when registering alternate modes for local typec > > ports, it may be handy to use constant mode descriptors. Allow this by >

[PATCH 9/9] [HSLPM] usb: dwc2: Enable LPM

2017-04-28 Thread Sevak Arakelyan
From: John Youn Set 'lpm_capable' flag in the gadget structure so indicating that LPM is supported. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c

[PATCH 8/9] [HSLPM] usb: gadget: Allow a non-SuperSpeed gadget to support LPM

2017-04-28 Thread Sevak Arakelyan
From: John Youn This commit allows a gadget that does not support SuperSpeed to indicate that it supports LPM. It does this by setting the 'lpm_capable' flag in the gadget structure. If a gadget sets this, the composite gadget framework will set the bcdUSB to 0x0201 to

[PATCH 6/9] usb: dwc2: gadget: Configure the core to enable LPM.

2017-04-28 Thread Sevak Arakelyan
Configure core in device mode to support LPM according to programming guide. Device will start giving valid responses for LPM tokens. After this patch device side LPM will start working. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core.h | 2 ++

[PATCH 7/9] [HSLPM] usb: gadget: composite: Exclude SS Dev Cap Desc

2017-04-28 Thread Sevak Arakelyan
From: John Youn Don't send the SuperSpeed USB Device Capability descriptor if the gadget is not capable of SuperSpeed. Signed-off-by: John Youn Signed-off-by: Sevak Arakelyan --- drivers/usb/gadget/composite.c | 51

[PATCH 5/9] usb: dwc2: Enable LPM Transaction Received interrupt.

2017-04-28 Thread Sevak Arakelyan
Enable LPM Trasaction Received interrupt. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 5 +++-- drivers/usb/dwc2/gadget.c| 3 ++- drivers/usb/dwc2/hcd.c | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH 4/9] usb: dwc2: gadget: LPM interrupt handler

2017-04-28 Thread Sevak Arakelyan
This interrupt indicates that an LPM transaction was received on the USB bus. After getting this interrupt we are going from L0 state to L1 state. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 60 1 file

[PATCH 3/9] usb: dwc2: gadget: Add functionality to exit from LPM L1 state

2017-04-28 Thread Sevak Arakelyan
Add a function which will be called if device is in L1 sleep state and Resume/Remote Wakeup Detected interrupt is asserted. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 49 1 file changed, 49 insertions(+)

[PATCH 2/9] usb: dwc2: Add core parameters for LPM support

2017-04-28 Thread Sevak Arakelyan
Add lpm, lpm_clock_gating, besl, hird_threshold_en and hird_threshold core parameters. These will indicate LPM and LPM Errata support as well as chosen L1 sleeping mode for the core and PHY. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core.h| 20

[PATCH 1/9] usb: dwc2: Fix GLPMCFG... definitions

2017-04-28 Thread Sevak Arakelyan
Make field names of GLPMCFG register in definitoins to be the same with the databook. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/hw.h | 38 -- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/drivers/usb/dwc2/hw.h

[PATCH 0/9] usb: dwc2: gadget: Add LPM functionality

2017-04-28 Thread Sevak Arakelyan
This series adds LPM functionality for gadget side. In USB 2 for LPM support 2.01 version and additional BOS descriptors needed to be sent to indicate LPM support so usb: gadget: composite: was patched to support that. Tested on HAPS platform with DWC_hsotg IP version 3.30a from device side and

Re: xhci_hcd 0000:00:14.0: WARN Event TRB for slot 4 ep 6 with no TDs queued?

2017-04-28 Thread Felipe Balbi
Hi Cristian, Cristian writes: > Hello, > > My report: > https://bugzilla.kernel.org/show_bug.cgi?id=195599 > > "dmesg: > [ 418.501019] xhci_hcd :00:14.0: WARN Event TRB for slot 4 ep 6 with no > TDs queued? > [ 418.509810] xhci_hcd :00:14.0: WARN Event TRB for slot

Re: [PATCH v7 1/3] staging: typec: USB Type-C Port Manager (tcpm)

2017-04-28 Thread Greg Kroah-Hartman
On Thu, Apr 27, 2017 at 02:09:56PM -0700, Guenter Roeck wrote: > --- /dev/null > +++ b/drivers/staging/typec/pd.h > @@ -0,0 +1,281 @@ > +/* > + * Copyright 2015-2017 Google, Inc > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU

Re: [PATCH] usb: musb: musb_host: Introduce postponed URB giveback

2017-04-28 Thread Matwey V. Kornilov
2017-04-27 20:13 GMT+03:00 Bin Liu : > On Thu, Apr 27, 2017 at 07:26:31PM +0300, Matwey V. Kornilov wrote: >> 2017-04-27 18:35 GMT+03:00 Bin Liu : >> > Hi Matwey, >> > >> > On Thu, Apr 27, 2017 at 01:20:33PM +0300, Matwey V. Kornilov wrote: >> >> This commit changes the