On Thu, May 13, 2010 at 06:13:00AM +0200, ext Gupta, Ajay Kumar wrote:
How about this 'memcpy', this would affect both cpu loading and performance. That's why using system dma would be a better approach.
but that's not portable. Even if you come up with nice wrappers for system dma usage (which is already ugly, more exported functions) you might end up on a board where system dma has same alignment constraints as mentor dma. Either fall back to pio or use a bounce buffer. That'll work always.
Besides, the only offending gadget driver we have is g_ether and that's already 'fixed' by the alignment patch to g_ether. Any other gadget driver causing that, should be fixed too...
-- balbi DefectiveByDesign.org -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html