Re: USB OOPS 2.6.25-rc2-git1

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Brownell <david-b@...>
Cc: Andre Tomt <andre@...>, Kernel development list <linux-kernel@...>, USB list <linux-usb@...>
Date: Wednesday, February 20, 2008 - 6:33 pm

On Wed, 20 Feb 2008, David Brownell wrote:


Maybe it did trigger an IRQ.  Inside the watchdog routine interrupts 
are disabled.


I don't think so:

	CPU 0				CPU 1
	-----				-----
	Watchdog timer expires
	Timer routine acquires spinlock
					IAA IRQ arrives
					ehci_irq tries to acquire 
						spinlock...
	Timer routine either sets
		ehci->reclaim to NULL 
		or else starts a new
		IAA cycle
	Timer routine releases spinlock
		and returns
					ehci_irq acquires spinlock
						and sees IAA is set
					Call end_unlink_async()!


This might help, but it won't fix the race outlined above.

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Tue Feb 19, 11:19 am)
Re: USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Tue Feb 19, 6:28 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Miller, (Tue Feb 19, 6:24 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Tue Feb 19, 8:19 pm)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Wed Feb 20, 12:10 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Miller, (Tue Feb 19, 9:40 pm)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Tue Feb 19, 3:31 pm)
Re: USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Tue Feb 19, 5:58 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Tue Feb 19, 2:49 pm)
Re: USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Tue Feb 19, 7:04 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Tue Feb 19, 8:32 pm)
Re: USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Wed Feb 20, 4:33 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Feb 20, 5:24 pm)
Re: USB OOPS 2.6.25-rc2-git1, Andre Tomt, (Wed Feb 20, 8:25 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Feb 20, 8:53 pm)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Wed Feb 20, 5:16 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Feb 20, 5:56 pm)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Thu Feb 21, 11:56 am)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Mon Feb 25, 5:13 am)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Wed Feb 20, 6:33 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Feb 20, 6:54 pm)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Thu Feb 21, 12:15 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Mar 5, 12:15 am)
Re: USB OOPS 2.6.25-rc2-git1, Alan Stern, (Wed Mar 5, 1:04 pm)
Re: USB OOPS 2.6.25-rc2-git1, David Brownell, (Wed Mar 5, 1:39 pm)