Regarding usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers

2018-06-01 Thread Sam Protsenko
Hi Vincent, The issue you mentioned in your RFC patch is also reproducing on TI X15 board (dwc3) with Android master, when doing "adb root" command. Your patch fixes it just fine, for which I really thankful. Do you know is there anything preventing it to be merged? I have X15 (dwc3) and

Re: Threaded interrupts for USB HCD instead of tasklets

2018-06-01 Thread Alan Stern
On Fri, 1 Jun 2018, Sebastian Andrzej Siewior wrote: > On 2018-05-22 15:14:17 [-0400], Alan Stern wrote: > > Sorry, I don't understand that sentence at all. And I don't see how it > > could be relevant to the point I was trying to make. > > > > Consider, for example,

Re: Threaded interrupts for USB HCD instead of tasklets

2018-06-01 Thread Sebastian Andrzej Siewior
On 2018-05-22 15:14:17 [-0400], Alan Stern wrote: > Sorry, I don't understand that sentence at all. And I don't see how it > could be relevant to the point I was trying to make. > > Consider, for example, drivers/hid/usbhid/hid-core.c. In that file, > hid_io_error() is called by hid_irq_in(),

Re: Regression caused by: usb: add a flag to skip PHY initialization to struct usb_hcd

2018-06-01 Thread Mats Karrman
Hi, On 2018-06-01 16:08, Mats Karrman wrote: Hi Peter, On 2018-06-01 03:30, Peter Chen wrote: After bisecting usb-next starting from tag 'v4.16' to current head I found that the commit:      commit 4e88d4c083016454f179686529ae65d70b933b58      Author: Martin Blumenstingl      Date:  

Re: [Query] checking hub port status while USB 2.0 port is resuming.

2018-06-01 Thread Alan Stern
On Fri, 1 Jun 2018, Anshuman Gupta wrote: > On Thu, May 31, 2018 at 03:49:46PM -0400, Alan Stern wrote: > > On Thu, 31 May 2018, Anshuman Gupta wrote: > > > > > > + resuming_ports = hcd->driver->get_resuming_ports(hcd); > > > > + for (i = 0; i < hdev->maxchild; ++i) {

Re: Regression caused by: usb: add a flag to skip PHY initialization to struct usb_hcd

2018-06-01 Thread Mats Karrman
Hi Peter, On 2018-06-01 03:30, Peter Chen wrote: After bisecting usb-next starting from tag 'v4.16' to current head I found that the commit:    commit 4e88d4c083016454f179686529ae65d70b933b58    Author: Martin Blumenstingl    Date:   Sat Mar 3 22:43:03 2018 +0100        usb: add

Re: [PATCH v3 0/3] Revised Renesas uPD72020x workaround for 32bit DMA issue

2018-06-01 Thread Greg KH
On Fri, Jun 01, 2018 at 01:14:22PM +0300, Mathias Nyman wrote: > On 01.06.2018 11:23, Greg KH wrote: > > On Wed, May 23, 2018 at 06:41:35PM +0100, Marc Zyngier wrote: > > > Back around the 4.13 timeframe, we tried to address a rather bad issue > > > with the Renesas uPD72020x USB3 controller

Re: [PATCH v3 0/3] Revised Renesas uPD72020x workaround for 32bit DMA issue

2018-06-01 Thread Mathias Nyman
On 01.06.2018 11:23, Greg KH wrote: On Wed, May 23, 2018 at 06:41:35PM +0100, Marc Zyngier wrote: Back around the 4.13 timeframe, we tried to address a rather bad issue with the Renesas uPD72020x USB3 controller family. They have trouble with the programming of the base addresses which tend to

Re: [PATCH v3 0/3] Revised Renesas uPD72020x workaround for 32bit DMA issue

2018-06-01 Thread Greg KH
On Wed, May 23, 2018 at 06:41:35PM +0100, Marc Zyngier wrote: > Back around the 4.13 timeframe, we tried to address a rather bad issue > with the Renesas uPD72020x USB3 controller family. They have trouble > with the programming of the base addresses which tend to stick on XHCI > reset. This makes

Re: Patches for "Renesas uPD72020x workaround" don't work

2018-06-01 Thread Christian Brauns
Hi, this is from another e-mail account, where I now subscribed to this list. Don't know, if this will be of any help. git checkout v4.16 git revert --strategy-option=ours 0e1f0ea -n git cherry-pick 854e55ad289efe7991f0ada5846f5afb9 -n git cherry-pick ad343a98e74e85aa91d844310e797f96fee6983b