hi David: 2014-06-18 22:33 GMT+08:00 David Laight <David.Laight@xxxxxxxxxx>: > From: vichy > ... >> and I get error message as >> platform-xhci: ERROR Transfer event TRB DMA ptr 483702160 not part of current TD >> platform-xhci: trb_comp_code = 0x1, event status -115, buffer >> 1cd4b590, len 1000000, flags 1038001 >> >> that seems wired. >> complete code is success and not short package. >> Why we still get TRB DMA will not be part of current TD? > > I would trace all the setup requests and responses and then work > out what is expected and then missing. i purposely print the dma of 4 parameters when we pass to trb_in_td like below. I found something wired: 1. when problem happen, the ep_dequeue_trb_dma is increase 0x20 instead of 0x10. But I trace the source, I cannot find the place where we inc_deq twice when handling iso trbs. (ep_dequeue_trb_dma=0x2796e150 ==> ep_dequeue_trb_dma=0x2796e170 ) ep_dequeue_trb_dma=0x2796e130, end_seg_dma = 0x2796e3f0, suspect_dma= 0x2796e130, end_trb_dma = 0x2796e130 ep_dequeue_trb_dma=0x2796e140, end_seg_dma = 0x2796e3f0, suspect_dma= 0x2796e140, end_trb_dma = 0x2796e140 ep_dequeue_trb_dma=0x2796e150, end_seg_dma = 0x2796e3f0, suspect_dma= 0x2796e150, end_trb_dma = 0x2796e160 ep_dequeue_trb_dma=0x2796e170, end_seg_dma = 0x2796e3f0, suspect_dma= 0x2796e160, end_trb_dma = 0x2796e170 Platform-xhci: event status -115, buffer 2796e160, Dma 2796e160, len 1000000, flags 1038001 Platform-xhci: ERROR Transfer event TRB DMA ptr 664199520 not part of current TD Platform-xhci: ERROR Transfer evenourt TRB DMA ptr not part of current TD appreciate your help, -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html