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

2019-01-16 Thread Evan Green
On Wed, Jan 16, 2019 at 3:20 PM Vincent Pelletier wrote: > > This bug happens only when the UDC needs to sleep during usb_ep_dequeue, > as is the case for (at least) dwc3. > > [ 382.200896] BUG: scheduling while atomic: screen/1808/0x0100 > [ 382.207124] 4 locks held by screen/1808: > [ 382

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

2019-01-17 Thread Evan Green
On Wed, Jan 16, 2019 at 7:37 PM He, Bo wrote: > > Hi, Green: > if you check the latest kernel, you can see the below 3 patches > introduce the cancelled_list feature can fix the issue: > > commit fec9095bdef4e7c988adb603d0d4f92ee735d4a1 > Author: Felipe Balbi > Date: Wed Aug 1 13:56:50