Re: [PATCH] xhci: Fix sleeping with IRQs disabled in xhci_stop_device()

2014-06-10 Thread Mathias Nyman
On 06/09/2014 11:32 PM, Dan Williams wrote: > On Mon, Jun 9, 2014 at 9:07 AM, Mathias Nyman > wrote: >> xhci_stop_device() allocates and issues stop commands for each active >> endpoint. >> This is done with spinlock held and interrupt disabled so we can't sleep >> during >> memory allocation. U

Re: [PATCH] xhci: Fix sleeping with IRQs disabled in xhci_stop_device()

2014-06-09 Thread Dan Williams
On Mon, Jun 9, 2014 at 9:07 AM, Mathias Nyman wrote: > xhci_stop_device() allocates and issues stop commands for each active > endpoint. > This is done with spinlock held and interrupt disabled so we can't sleep > during > memory allocation. Use GFP_ATOMIC instead > > Regressiong from commit ddb

Re: [PATCH] xhci: Fix sleeping with IRQs disabled in xhci_stop_device()

2014-06-09 Thread Johannes Berg
On Mon, 2014-06-09 at 19:07 +0300, Mathias Nyman wrote: > xhci_stop_device() allocates and issues stop commands for each active > endpoint. > This is done with spinlock held and interrupt disabled so we can't sleep > during > memory allocation. Use GFP_ATOMIC instead > > Regressiong from commit

Re: [PATCH] xhci: Fix sleeping with IRQs disabled in xhci_stop_device()

2014-06-09 Thread Greg KH
On Mon, Jun 09, 2014 at 07:07:29PM +0300, Mathias Nyman wrote: > xhci_stop_device() allocates and issues stop commands for each active > endpoint. > This is done with spinlock held and interrupt disabled so we can't sleep > during > memory allocation. Use GFP_ATOMIC instead > > Regressiong from