Problem with non aligned DMA in usbnet on ARM

Matthieu CASTET matthieu.castet at parrot.com
Thu Aug 12 13:01:20 EDT 2010


Martin Fuzzey a écrit :
> Greg KH wrote:
>> 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



More information about the linux-arm-kernel mailing list