Re: ehci-hcd.c causes: irq : nobody cared

2014-05-24 Thread Dr. Werner Fink
On Sat, May 24, 2014 at 11:18:31AM -0400, Alan Stern wrote: > On Sat, 24 May 2014, Dr. Werner Fink wrote: > > > > > During debugging and rebooting I've seen the problem again: > > What patch were you using when you saw the problem again? The attached one (as it does not help I've attached it;)

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-24 Thread Alan Stern
On Sat, 24 May 2014, Dr. Werner Fink wrote: > On Wed, May 14, 2014 at 10:32:21AM -0400, Alan Stern wrote: > > On Tue, 13 May 2014, Dr. Werner Fink wrote: > > > > > On Tue, May 13, 2014 at 06:10:46PM +0200, Dr. Werner Fink wrote: > > > > On Tue, May 13, 2014 at 11:59:38AM -0400, Alan Stern wrote:

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-24 Thread Dr. Werner Fink
On Wed, May 14, 2014 at 10:32:21AM -0400, Alan Stern wrote: > On Tue, 13 May 2014, Dr. Werner Fink wrote: > > > On Tue, May 13, 2014 at 06:10:46PM +0200, Dr. Werner Fink wrote: > > > On Tue, May 13, 2014 at 11:59:38AM -0400, Alan Stern wrote: > > > > > > > > What about something like this instead

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-14 Thread Alan Stern
On Tue, 13 May 2014, Dr. Werner Fink wrote: > On Tue, May 13, 2014 at 06:10:46PM +0200, Dr. Werner Fink wrote: > > On Tue, May 13, 2014 at 11:59:38AM -0400, Alan Stern wrote: > > > > > > What about something like this instead? > > > > > > masked_status = status & (INTR_MASK | STS_FLR); > > >

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Dr. Werner Fink
On Tue, May 13, 2014 at 06:10:46PM +0200, Dr. Werner Fink wrote: > On Tue, May 13, 2014 at 11:59:38AM -0400, Alan Stern wrote: > > > > What about something like this instead? > > > > masked_status = status & (INTR_MASK | STS_FLR); > > > > /* Shared IRQ? */ > > if (!masked_status ||

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Dr. Werner Fink
On Tue, May 13, 2014 at 11:59:38AM -0400, Alan Stern wrote: > > What about something like this instead? > > masked_status = status & (INTR_MASK | STS_FLR); > > /* Shared IRQ? */ > if (!masked_status || unlikely(ehci->rh_state == EHCI_RH_HALTED)) { > + if (status &

Re: [Patch] ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Alan Stern
On Tue, 13 May 2014, Dr. Werner Fink wrote: > Avoid that the ehci driver cause that the shared IRQ will disabled. > This behaviour was seen now over several kernel versions with the > > 00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset > Family USB Enhanced Host Contr

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Alan Stern
On Tue, 13 May 2014, Dr. Werner Fink wrote: > OK ... the patch was changed as I had been told that I should do it this > way. In my original code I simply use > > masked_status = status & (INTR_MASK | STS_FLR | STS_RECL); > > /* Shared IRQ? */ > if (!masked_status || unlikely(

[Patch] ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Dr. Werner Fink
Avoid that the ehci driver cause that the shared IRQ will disabled. This behaviour was seen now over several kernel versions with the 00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05) (prog-if 20 [EHCI]) S

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Dr. Werner Fink
On Tue, May 13, 2014 at 11:08:27AM -0400, Alan Stern wrote: > Please CC: your patches to the maintainer of the driver you are > changing. > > On Tue, 13 May 2014, Dr. Werner Fink wrote: > > > Hi, > > > > this bug hits my system now a long time. I had found e.g. this > > > > speedy kernel: [

Re: ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Alan Stern
Please CC: your patches to the maintainer of the driver you are changing. On Tue, 13 May 2014, Dr. Werner Fink wrote: > Hi, > > this bug hits my system now a long time. I had found e.g. this > > speedy kernel: [ 9575.033019] irq 16: nobody cared (try booting with the > "irqpoll" option) >

ehci-hcd.c causes: irq : nobody cared

2014-05-13 Thread Dr. Werner Fink
Hi, this bug hits my system now a long time. I had found e.g. this speedy kernel: [ 9575.033019] irq 16: nobody cared (try booting with the "irqpoll" option) speedy kernel: [ 9575.033022] Pid: 0, comm: swapper/0 Not tainted 3.7.10-1.1-desktop #1 speedy kernel: [ 9575.033023] Call Trace: sp