Re: [Linux-usb-users] OHCI root_port_reset() deadly loop...

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Wednesday, October 17, 2007 - 4:03 pm

From: Alan Stern <stern@rowland.harvard.edu>
Date: Wed, 17 Oct 2007 11:51:57 -0400 (EDT)


In my patch it was possible for the inner loop one to succeed, but the
outer one to not do so.

In your's this is not the case so I guess it's OK.

I wonder if it's so wise trying to do two things at once.  Here we are
adding the loop timeouts, and also changing to using jiffies based
timeouts rather than a chip timer register based one.

I preferred my patches because it solved one single problem, the lack
of loop limits.  The timeout mechanism could have been changed in
another followon patch.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OHCI root_port_reset() deadly loop..., David Miller, (Sat Oct 6, 11:53 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Sun Oct 7, 12:31 am)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Sun Oct 7, 12:51 am)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 4:54 pm)
Re: OHCI root_port_reset() deadly loop..., Greg KH, (Mon Oct 8, 8:10 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 8:16 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Mon Oct 8, 8:34 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 8:42 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Mon Oct 8, 9:09 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Mon Oct 8, 9:36 pm)
Re: OHCI root_port_reset() deadly loop..., Greg KH, (Mon Oct 8, 9:39 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 9:44 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 9:47 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Mon Oct 8, 10:00 pm)
Re: OHCI root_port_reset() deadly loop..., Benjamin Herrenschmidt, (Mon Oct 8, 10:11 pm)
Re: OHCI root_port_reset() deadly loop..., Benjamin Herrenschmidt, (Mon Oct 8, 10:13 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 10:23 pm)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Mon Oct 8, 10:26 pm)
Re: OHCI root_port_reset() deadly loop..., Greg KH, (Mon Oct 8, 11:06 pm)
Re: OHCI root_port_reset() deadly loop..., Benjamin Herrenschmidt, (Mon Oct 8, 11:37 pm)
Re: OHCI root_port_reset() deadly loop..., Benjamin Herrenschmidt, (Mon Oct 8, 11:43 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Tue Oct 9, 9:38 am)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Tue Oct 9, 11:48 am)
Re: OHCI root_port_reset() deadly loop..., David Miller, (Tue Oct 9, 1:41 pm)
Re: OHCI root_port_reset() deadly loop..., Greg KH, (Tue Oct 9, 1:46 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Tue Oct 9, 2:05 pm)
Re: OHCI root_port_reset() deadly loop..., David Brownell, (Tue Oct 9, 2:09 pm)
Re: [Linux-usb-users] OHCI root_port_reset() deadly loop..., David Brownell, (Tue Oct 16, 11:26 am)
Re: [Linux-usb-users] OHCI root_port_reset() deadly loop..., David Miller, (Wed Oct 17, 4:03 pm)