Re: USB Bluetooth dongle stop response with timeout error

2018-10-30 Thread Morikazu Fumita
On 30/10/2018 5:15 PM, Oliver Neukum wrote: On Sa, 2018-10-27 at 22:56 +0800, Morikazu Fumita wrote: I always found error messages of "Bluetooth: hci0: command 0x0406 tx timeout" and The problem is likely shortly before that. "dwc2 ffb4.usb: --Host Channel x Interrupt: Frame Overrun--"

Re: [RFC PATCH 1/1] usb: dwc3: drd: Register a USB role switch

2018-10-30 Thread Chen Yu
Hi, On 2018/10/30 22:03, Heikki Krogerus wrote: > The Type-C drivers use USB role switch API to inform the > system about the negotiated data role, so registering a role > switch in the DRD code in order to support platforms with > USB Type-C connectors. > > Signed-off-by: Heikki Krogerus > ---

Re: [PATCH 2/2] usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

2018-10-30 Thread Sergei Shtylyov
Hello! On 10/30/2018 03:26 PM, Artur Petrosyan wrote: > To accept LPM token during ISOC transfers when TxFIFO > is not empty. > > Signed-off-by: Artur Petrosyan > Signed-off-by: Minas Harutyunyan > --- > drivers/usb/dwc2/gadget.c | 1 + > drivers/usb/dwc2/hw.h | 3 +++ > 2 files changed,

Re: [PATCH 0/2] usb: dwc2: gadget: Fix Service Interval support.

2018-10-30 Thread Artur Petrosyan
Hi Balbi, On 10/30/2018 16:33, Felipe Balbi wrote: > > Hi, > > Artur Petrosyan writes: > >> 1. This patch set fixes WkupAlert interrupt handler. >> 2. Adds support to accept LPM token when TxFIFO >> is not empty. >> >> NOTE: Request to add this patch set on "tag: usb-for-v4.20" > > now

Re: [PATCH 2/2] usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

2018-10-30 Thread Artur Petrosyan
Hi Balbi, On 10/30/2018 16:35, Felipe Balbi wrote: > > Hi, > > Artur Petrosyan writes: >> To accept LPM token during ISOC transfers when TxFIFO >> is not empty. > > this commit log tells me nothing. Why do you need this patch? Why CNT1 > and not CNT0 or CNT2? > Thanks for the quick reply

Re: [PATCH 1/2] usb: dwc2: gadget: Fix WkupAlert interrupt handler.

2018-10-30 Thread Artur Petrosyan
Hi Balbi, On 10/30/2018 16:34, Felipe Balbi wrote: > > Hi, > > Artur Petrosyan writes: >> According to the databook DCTL_RMTWKUPSIG bit >> is defined in DCTL register not in DCFG. >> >> Updated setting DCTL_RMTWKUPSIG bit to DCTL >> register. >> > > looks like this needs a Cc stable and Fixes

[RFC PATCH 1/1] usb: dwc3: drd: Register a USB role switch

2018-10-30 Thread Heikki Krogerus
The Type-C drivers use USB role switch API to inform the system about the negotiated data role, so registering a role switch in the DRD code in order to support platforms with USB Type-C connectors. Signed-off-by: Heikki Krogerus --- Hi Chen Yu, This is related to your Hikey960 USB patches

Re: [PATCH] usb: dwc3: core: Clean up ULPI device

2018-10-30 Thread Felipe Balbi
Hi, Felipe Balbi writes: > From: Andy Shevchenko > > If dwc3_core_init_mode() fails with deferred probe, > next probe fails on sysfs with > > sysfs: cannot create duplicate filename > '/devices/pci:00/:00:11.0/dwc3.0.auto/dwc3.0.auto.ulpi' > > To avoid this failure, clean up ULPI

Re: EPROTO when USB 3 GbE adapters are under load

2018-10-30 Thread Hao Wei Tee
On 25/10/18 11:04 PM, Mathias Nyman wrote: There is a patch in usb-next that might help. f8f80be xhci: Use soft retry to recover faster from transaction errors It soft resets the halted host side endpoint, clears the halt without clearing the sequence number. FWIW, although I guess you

[PATCH] usb: dwc3: core: Clean up ULPI device

2018-10-30 Thread Felipe Balbi
From: Andy Shevchenko If dwc3_core_init_mode() fails with deferred probe, next probe fails on sysfs with sysfs: cannot create duplicate filename '/devices/pci:00/:00:11.0/dwc3.0.auto/dwc3.0.auto.ulpi' To avoid this failure, clean up ULPI device. Cc: Signed-off-by: Andy Shevchenko

Re: [PATCH 2/2] usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

2018-10-30 Thread Felipe Balbi
Hi, Artur Petrosyan writes: > To accept LPM token during ISOC transfers when TxFIFO > is not empty. this commit log tells me nothing. Why do you need this patch? Why CNT1 and not CNT0 or CNT2? -- balbi signature.asc Description: PGP signature

Re: [PATCH 1/2] usb: dwc2: gadget: Fix WkupAlert interrupt handler.

2018-10-30 Thread Felipe Balbi
Hi, Artur Petrosyan writes: > According to the databook DCTL_RMTWKUPSIG bit > is defined in DCTL register not in DCFG. > > Updated setting DCTL_RMTWKUPSIG bit to DCTL > register. > looks like this needs a Cc stable and Fixes tag. Care to add? -- balbi signature.asc Description: PGP

Re: [PATCH 0/2] usb: dwc2: gadget: Fix Service Interval support.

2018-10-30 Thread Felipe Balbi
Hi, Artur Petrosyan writes: > 1. This patch set fixes WkupAlert interrupt handler. > 2. Adds support to accept LPM token when TxFIFO >is not empty. > > NOTE: Request to add this patch set on "tag: usb-for-v4.20" now that the merge window is already open? patch 1 seems like a fix, so it

[PATCH 2/2] usb: dwc2: gadget: Accept LPM token when TxFIFO is not empty

2018-10-30 Thread Artur Petrosyan
To accept LPM token during ISOC transfers when TxFIFO is not empty. Signed-off-by: Artur Petrosyan Signed-off-by: Minas Harutyunyan --- drivers/usb/dwc2/gadget.c | 1 + drivers/usb/dwc2/hw.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c

[PATCH 0/2] usb: dwc2: gadget: Fix Service Interval support.

2018-10-30 Thread Artur Petrosyan
1. This patch set fixes WkupAlert interrupt handler. 2. Adds support to accept LPM token when TxFIFO is not empty. NOTE: Request to add this patch set on "tag: usb-for-v4.20" Artur Petrosyan (2): usb: dwc2: gadget: Fix WkupAlert interrupt handler. usb: dwc2: gadget: Accept LPM token when

[PATCH 1/2] usb: dwc2: gadget: Fix WkupAlert interrupt handler.

2018-10-30 Thread Artur Petrosyan
According to the databook DCTL_RMTWKUPSIG bit is defined in DCTL register not in DCFG. Updated setting DCTL_RMTWKUPSIG bit to DCTL register. Signed-off-by: Artur Petrosyan Signed-off-by: Minas Harutyunyan --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: USB Bluetooth dongle stop response with timeout error

2018-10-30 Thread Oliver Neukum
On Sa, 2018-10-27 at 22:56 +0800, Morikazu Fumita wrote: > I always found error messages of > "Bluetooth: hci0: command 0x0406 tx timeout" and The problem is likely shortly before that. > "dwc2 ffb4.usb: --Host Channel x Interrupt: Frame Overrun--" > when this problem is happening. > >