Re: [PATCH] usb: mark *hci_pci irqs with IRQF_NO_THREAD

2014-02-18 Thread Thomas Gleixner
On Mon, 17 Feb 2014, Stanislaw Gruszka wrote: > There is threadirqs kenel boot option which allow to force interrupt > routines to be performed as thread. > > USB irq routines use spin_lock(*hci->lock) variant without disabling > interrupts, what is perfectly fine, but that can cause deadlock wh

Re: [PATCH] usb: mark *hci_pci irqs with IRQF_NO_THREAD

2014-02-18 Thread Alan Stern
On Tue, 18 Feb 2014, Stanislaw Gruszka wrote: > On Mon, Feb 17, 2014 at 09:48:14AM -0500, Alan Stern wrote: > > On Mon, 17 Feb 2014, Stanislaw Gruszka wrote: > > > > > There is threadirqs kenel boot option which allow to force interrupt > > > routines to be performed as thread. > > > > > > USB

Re: [PATCH] usb: mark *hci_pci irqs with IRQF_NO_THREAD

2014-02-17 Thread Stanislaw Gruszka
On Mon, Feb 17, 2014 at 09:48:14AM -0500, Alan Stern wrote: > On Mon, 17 Feb 2014, Stanislaw Gruszka wrote: > > > There is threadirqs kenel boot option which allow to force interrupt > > routines to be performed as thread. > > > > USB irq routines use spin_lock(*hci->lock) variant without disabl

Re: [PATCH] usb: mark *hci_pci irqs with IRQF_NO_THREAD

2014-02-17 Thread Alan Stern
On Mon, 17 Feb 2014, Stanislaw Gruszka wrote: > There is threadirqs kenel boot option which allow to force interrupt > routines to be performed as thread. > > USB irq routines use spin_lock(*hci->lock) variant without disabling > interrupts, what is perfectly fine, but that can cause deadlock wh