RE: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patc h

From: Hicks, Jamey (Jamey.Hicks@compaq.com)
Date: Fri Mar 09 2001 - 09:27:53 EST


Are there any large-memory machines that need pci_alloc_consistent() in the
USB controller driver? If not, then let's just set up an uncached mapping
of all of DRAM and use a modified version of virt_to_bus and bus_to_virt.
It gets around all the issues of having a better allocator of uncached
memory. Even with a slab allocator for uncached memory, modified versions
of virt_to_bus and bus_to_virt would have to be used.

The other choice is cache invalidation and flushing around all the code that
touches ED's and TD's. This might not be too bad if it is encapsulated in
_read and _write macros. How performance critical is the ED and TD code?

The latest ARM -NP patches work on SA1110 with the SA1111 controller (which
is OHCI-like). With minimal tweaks they work on SA110/Footbridge with an
OHCI controller. We will be submitting these patches as tweaks. It's not
beautiful, but it doesn't change the mainstream (x86) code significantly.

Jamey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:10 EST