Re: [PATCH 1/3] usb: host: xhci: fix oops when removing hcd

2018-09-26 Thread Mathias Nyman
Hi Jack, Peter On 24.09.2018 19:37, Jack Pham wrote: Hi Peter, On Fri, Sep 21, 2018 at 09:48:43AM +0800, Peter Chen wrote: Type-C-to-A cable, and the USB3 HCD has already been NULL at that time. The oops log like below: [681.782288] xhci-hcd xhci-hcd.1.auto: remove, state 1 [681.787490] usb

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

2018-09-26 Thread He, Bo
Hi, Vincent: We tried my patch doesn't fix the issue totally, we still see the kernel panic. currently solution in our test is: Rvert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers" and only add the below patch to use the in_interrupt() to

Re: [PATCH 1/3] usb: host: xhci: fix oops when removing hcd

2018-09-26 Thread Jack Pham
Hi Mathias, On Wed, Sep 26, 2018 at 02:51:40PM +0300, Mathias Nyman wrote: > Hi Jack, Peter > > On 24.09.2018 19:37, Jack Pham wrote: > >Hi Peter, > > > >On Fri, Sep 21, 2018 at 09:48:43AM +0800, Peter Chen wrote: > >>Type-C-to-A cable, and the USB3 HCD has already been NULL at that time. >

Re: [PATCH 1/3] usb: host: xhci: fix oops when removing hcd

2018-09-26 Thread Jack Pham
On Wed, Sep 26, 2018 at 06:34:30PM -0700, Jack Pham wrote: > Hi Mathias, > > On Wed, Sep 26, 2018 at 02:51:40PM +0300, Mathias Nyman wrote: > > Hi Jack, Peter > > > > On 24.09.2018 19:37, Jack Pham wrote: > > >Hi Peter, > > > > > >On Fri, Sep 21, 2018 at 09:48:43AM +0800, Peter Chen wrote: > >