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

From: David Miller
Date: Mon Oct 15 2007 - 18:01:32 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Tue, 09 Oct 2007 21:35:07 -0700 (PDT)

> From: David Miller <davem@xxxxxxxxxxxxx>
> Date: Tue, 09 Oct 2007 15:00:40 -0700 (PDT)
>
> > From: David Brownell <david-b@xxxxxxxxxxx>
> > Date: Tue, 9 Oct 2007 14:43:54 -0700
> >
> > > Does it resolve the problem you observed?
> >
> > I will definitely give the patch a try and report back.
>
> My tests look really good with Alan Stern's patch.
>
> With a kernel is hacked to load OHCI before EHCI, and
> that always hangs, the patch makes the hang go away
> reliably.

Bad news, even with the rwsem after a lot more testing I can still
trigger the hang in ohci_hub_control() :-(

I think we need to go back to considering the total serialization
approach to this problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/