[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071016222037.GA23793@kroah.com>
Date: Tue, 16 Oct 2007 15:20:37 -0700
From: Greg KH <greg@...ah.com>
To: David Miller <davem@...emloft.net>
Cc: stern@...land.harvard.edu, david-b@...bell.net,
linux-usb-users@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [Linux-usb-users] OHCI root_port_reset() deadly loop...
On Tue, Oct 16, 2007 at 03:06:31PM -0700, David Miller wrote:
> From: Alan Stern <stern@...land.harvard.edu>
> Date: Tue, 16 Oct 2007 11:23:58 -0400 (EDT)
>
> > Unfortunately that simply isn't possible. No matter what you do, the
> > user can always unload ehci-hcd and then load it back in again.
>
> Yes we can, by making OHCI and EHCI one module with a top-level
> dispatch. If you enable both OHCI and EHCI, the top-level
> module will dispatch the host initializations in the correct order.
>
> This is what I've suggested from the beginning.
Wait, you can have hardware with both EHCI and UHCI too. Does that mean
we should merge all three together? I don't think so :)
But perhaps we can order the hardware init stuff from all three together
like this into a separate module they all depend on. In a way, that's
what the lock tried to do, right? Are we just not catching all places
we could have hardware being talked to by two modules at the same time?
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists