Subject: Re: Problem with non aligned DMA in usbnet on ARM

From: Matthieu CASTET <[email-masked]>
Date: Thu, 12 Aug 2010 19:01:20 +0200

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