Re: [Em28xx] ehci_hcd map_single: unable to map unsafe buffer on a standard NSLU2

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.drivers.em28xx
Message-ID <20071006173938.D261F222575@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
> I am trying to understand dmabounce, why this problem occurs, and how to 
> correct it
> I hope with the help of linux-arm people...

The dmabounce code predates the change in the ARM DMA code to
require that dma_free_coherent() have IRQs enabled, and nobody
has yet submitted patches to fix that problem.  (One approach
can be seen in the code removed from the net2280 and omap_udc
drivers by patch c67ab134ba9f83f9de86e58adfeaa14a9efa6e00 ...)

The NSLU2 has this problem because it has very weak PCI DMA ...
it can only use memory from one particular range.

That issue has been discussed repeatedly on Linux-ARM-Kernel.
Russell is pretty down on dmabounce, but I don't recall him
suggesting a usable solution to working around that PCI DMA
issue on those IXP chips.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[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.