Thread (22 messages) flat view 22 messages, 8 authors, 2010-08-13

Problem with non aligned DMA in usbnet on ARM

From: Matthieu CASTET <hidden>
Date: 2010-08-12 17:01:20
Also in: netdev

Martin Fuzzey a ?crit :
Greg KH wrote:
quoted
Can you fix this in the host controller driver?

  
Technically yes (by copying the unaligned buffers).

But if we do decide that USB must support unaligned buffers wouldn't it
be better to have the HCD indicate it's alignment requirement to the
core and have the core do the copying?

Gary King sent a message to this thread but only to the arm list saying
he has the same problem with the tegra hcd (which doesn't seem to be in
the tree yet.)  I don't know if any of the other in tree HCDs have this
problem.
dwc otg also got this limitation. I don't know if the version submitted 
for inclusion handle unaligned buffers.


Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help