Re: using cacheable buffer for descriptor

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yang Fei-AFY095 <fei.yang@...>
Cc: <linux-usb@...>, Xiao Richard-a2590c <a2590c@...>, Luan James-WLJL13 <James.Luan@...>
Date: Friday, July 3, 2009 - 5:16 pm

On Fri, 3 Jul 2009, Yang Fei-AFY095 wrote:

...


It is?  Where?


For both IN and OUT transfers, cache consistency is handled by
map_urb_for_dma and unmap_urb_for_dma.  Those two functions are in
hcd.c.


Possibly.


You can disable DMA for ep0 if you want.  It shouldn't make much 
difference.

But if you're getting these errors already, maybe you'll get similar 
errors with transfers to other endpoints.  So it might be better to fix 
the problem than to try working around it.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 12:43 am)
Re: using cacheable buffer for descriptor, Alan Stern, (Fri Jul 3, 5:16 pm)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 6:06 pm)
RE: using cacheable buffer for descriptor, Alan Stern, (Fri Jul 3, 7:19 pm)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Fri Jul 3, 11:43 pm)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 5:11 am)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 11:41 am)
Re: using cacheable buffer for descriptor, Russell King - ARM Linux, (Sat Jul 4, 2:07 pm)
Re: using cacheable buffer for descriptor, Ming Lei, (Sat Jul 4, 10:38 pm)
Re: using cacheable buffer for descriptor, Russell King - ARM Linux, (Sun Jul 5, 2:46 am)
RE: using cacheable buffer for descriptor, Yang Fei-AFY095, (Sat Jul 4, 5:01 pm)
Re: using cacheable buffer for descriptor, Alan Stern, (Sat Jul 4, 11:51 am)