Re: EHCI PCI bug on PPC7448 platforms.

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wednesday 25 April 2007, Dave Liu wrote:
> On Wed, 2007-04-25 at 08:48 -0700, Dale Farnsworth wrote:
> > sjhill wrote:

> > > Currently, I comment out the ref-counting and the EHCI controller
> > > performs perfectly on my 7448 platform.

Right ... by now the relevant bugs should have been resolved for
quite a long time.


> > > However, this is certainly 
> > > not the solution going forward. Is it truly necessary to have the
> > > ref count be in DMA-able memory? 

No, but paranoia argues for the simplicity.  More to the point though,
it's not necessary that the refcount be *atomic* since there sure ought
to be sufficient locking already ...


> > > I know it is convenient to allocate 
> > > the entire structure all at once, but this certainly will not work
> > > for 7448 platforms. Comments? Thanks.
> > 
> > Good find Steve.  That's nasty and does need to get fixed.
> 
> It is really old problem, see the thread.
> 
> http://marc.info/?l=linux-usb-devel&m=115921549316531&w=2

If someone provided a patch to switch the refcounting away from
using "kref", I'd sign off on it ...

- Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.