Hi , I'm using the 4*A53 with DWC3 USB controller, my hardware to work like a USB camera and so make use of the USB 3.0 UVC gadget driver。 usb3.0 isoc transfer with missisoc -18,larger maxburst is set, the more -18 appears。 but from trace info, the trb has been put in advance。 test setting: dwc3 driver version:5.12 PC: potplayer maxpacket : 3072 maxburst : 15 interval : 1 UVC_NUM_REQUESTS: 8 dmesg info: [ 806.696113] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.696136] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.696361] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.696380] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.746120] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.746145] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.746496] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.769243] configfs-gadget gadget: uvc: VS request completed with status -18. [ 806.769265] configfs-gadget gadget: uvc: VS request completed with status -18. trace info: irq/175-dwc3-2373 [003] 7391.966129: dwc3_event: event (9e5f408a): ep2in: Transfer In Progress [40543] (sIm) irq/175-dwc3-2373 [003] 7391.966131: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307250 allocated=32768028 queued=1764913253 bpl=1987444736 bph=0 size=0 ctrl=664259680 type=1 enqueue=45 dequeue=38 irq/175-dwc3-2373 [003] 7391.966134: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554800 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966136: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554800 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966171: dwc3_ep_queue: ep2in: req 0xffffffc07a554800 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966172: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 45/38 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966174: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 45/38 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966180: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072d0 allocated=16 queued=41 bpl=1987444736 bph=0 size=49152 ctrl=3169 type=1 enqueue=46 dequeue=38 kworker/3:1H-1147 [003] 7391.966183: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966186: usb_ep_queue: ep2in: req 0xffffffc07a554800 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966260: dwc3_event: event (9e60408a): ep2in: Transfer In Progress [40544] (sIm) irq/175-dwc3-2373 [003] 7391.966262: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307260 allocated=32768028 queued=1764913253 bpl=1987641344 bph=0 size=0 ctrl=664276064 type=1 enqueue=46 dequeue=39 irq/175-dwc3-2373 [003] 7391.966264: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554200 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966266: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554200 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966304: dwc3_ep_queue: ep2in: req 0xffffffc07a554200 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966306: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 46/39 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966307: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 46/39 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966314: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072e0 allocated=16 queued=41 bpl=1987641344 bph=0 size=49152 ctrl=3169 type=1 enqueue=47 dequeue=39 kworker/3:1H-1147 [003] 7391.966316: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966319: usb_ep_queue: ep2in: req 0xffffffc07a554200 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966382: dwc3_event: event (9e61408a): ep2in: Transfer In Progress [40545] (sIm) irq/175-dwc3-2373 [003] 7391.966384: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307270 allocated=32768028 queued=1764913253 bpl=1987313664 bph=0 size=0 ctrl=664292448 type=1 enqueue=47 dequeue=40 irq/175-dwc3-2373 [003] 7391.966386: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554000 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966388: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554000 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966425: dwc3_ep_queue: ep2in: req 0xffffffc07a554000 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966426: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 47/40 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966428: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 47/40 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966435: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072f0 allocated=16 queued=41 bpl=1987313664 bph=0 size=49152 ctrl=3169 type=1 enqueue=48 dequeue=40 kworker/3:1H-1147 [003] 7391.966437: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966440: usb_ep_queue: ep2in: req 0xffffffc07a554000 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966507: dwc3_event: event (9e62408a): ep2in: Transfer In Progress [40546] (sIm) irq/175-dwc3-2373 [003] 7391.966510: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307280 allocated=32768028 queued=1764913253 bpl=1987510272 bph=0 size=0 ctrl=664308832 type=1 enqueue=48 dequeue=41 irq/175-dwc3-2373 [003] 7391.966512: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554900 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966514: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554900 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966553: dwc3_ep_queue: ep2in: req 0xffffffc07a554900 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966555: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 48/41 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966556: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 48/41 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966563: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307300 allocated=16 queued=41 bpl=1987510272 bph=0 size=49152 ctrl=3169 type=1 enqueue=49 dequeue=41 kworker/3:1H-1147 [003] 7391.966566: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966568: usb_ep_queue: ep2in: req 0xffffffc07a554900 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966632: dwc3_event: event (9e63408a): ep2in: Transfer In Progress [40547] (sIm) irq/175-dwc3-2373 [003] 7391.966634: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307290 allocated=32768028 queued=1764913253 bpl=1987706880 bph=0 size=0 ctrl=664325216 type=1 enqueue=49 dequeue=42 irq/175-dwc3-2373 [003] 7391.966636: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554300 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966638: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554300 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966673: dwc3_ep_queue: ep2in: req 0xffffffc07a554300 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966675: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 49/42 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966676: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 49/42 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966683: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307310 allocated=16 queued=41 bpl=1987706880 bph=0 size=49152 ctrl=3169 type=1 enqueue=50 dequeue=42 kworker/3:1H-1147 [003] 7391.966686: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966688: usb_ep_queue: ep2in: req 0xffffffc07a554300 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966760: dwc3_event: event (9e64408a): ep2in: Transfer In Progress [40548] (sIm) irq/175-dwc3-2373 [003] 7391.966762: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072a0 allocated=32768028 queued=1764913253 bpl=1987575808 bph=0 size=0 ctrl=664341600 type=1 enqueue=50 dequeue=43 irq/175-dwc3-2373 [003] 7391.966764: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554100 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966766: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554100 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966806: dwc3_ep_queue: ep2in: req 0xffffffc07a554100 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966808: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 50/43 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966809: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 50/43 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966816: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307320 allocated=16 queued=41 bpl=1987575808 bph=0 size=49152 ctrl=3169 type=1 enqueue=51 dequeue=43 kworker/3:1H-1147 [003] 7391.966819: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966821: usb_ep_queue: ep2in: req 0xffffffc07a554100 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.966881: dwc3_event: event (9e65408a): ep2in: Transfer In Progress [40549] (sIm) irq/175-dwc3-2373 [003] 7391.966883: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072b0 allocated=32768028 queued=1764913253 bpl=1987772416 bph=0 size=0 ctrl=664357984 type=1 enqueue=51 dequeue=44 irq/175-dwc3-2373 [003] 7391.966885: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554e00 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.966887: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554e00 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.966922: dwc3_ep_queue: ep2in: req 0xffffffc07a554e00 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.966924: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 51/44 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966925: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 51/44 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.966932: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307330 allocated=16 queued=41 bpl=1987772416 bph=0 size=49152 ctrl=3169 type=1 enqueue=52 dequeue=44 kworker/3:1H-1147 [003] 7391.966935: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.966938: usb_ep_queue: ep2in: req 0xffffffc07a554e00 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.967011: dwc3_event: event (9e66408a): ep2in: Transfer In Progress [40550] (sIm) irq/175-dwc3-2373 [003] 7391.967014: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072c0 allocated=32768028 queued=1764913253 bpl=1987379200 bph=0 size=0 ctrl=664374368 type=1 enqueue=52 dequeue=45 irq/175-dwc3-2373 [003] 7391.967017: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554600 length 49152/49152 zsI ==> 0 irq/175-dwc3-2373 [003] 7391.967019: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554600 length 49152/49152 sgs 0/0 stream 0 zsI status 0 --> 0 kworker/3:1H-1147 [003] 7391.967056: dwc3_ep_queue: ep2in: req 0xffffffc07a554600 length 0/49152 zsI ==> -115 kworker/3:1H-1147 [003] 7391.967058: dwc3_gadget_ep_info: ep2in: mps 1024/1024 streams 15 burst 16 ring 52/45 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.967059: dwc3_gadget_ep_info2: ep2in: mps 1024/1024 streams 15 burst 16 ring 52/45 flags 0x29 >c<:>c<>c<>c<>c<:>c< kworker/3:1H-1147 [003] 7391.967066: dwc3_prepare_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff8009307340 allocated=16 queued=41 bpl=1987379200 bph=0 size=49152 ctrl=3169 type=1 enqueue=53 dequeue=45 kworker/3:1H-1147 [003] 7391.967069: dwc3_gadget_ep_cmd: ep2in: cmd 'Update Transfer' [50407] ri:5 params 00000000 00000000 00000000 --> status: Successful kworker/3:1H-1147 [003] 7391.967071: usb_ep_queue: ep2in: req 0xffffffc07a554600 length 0/49152 sgs 0/0 stream 0 zsI status -115 --> 0 irq/175-dwc3-2373 [003] 7391.967141: dwc3_event: event (9e67c08a): ep2in: Transfer In Progress [40551] (sIM) irq/175-dwc3-2373 [003] 7391.967143: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072d0 allocated=32768028 queued=1764913253 bpl=1987444736 bph=0 size=268484608 ctrl=664390752 type=1 enqueue=53 dequeue=46 irq/175-dwc3-2373 [003] 7391.967145: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554800 length 0/49152 zsI ==> -18 irq/175-dwc3-2373 [003] 7391.967147: usb_gadget_giveback_request: ep2in: req 0xffffffc07a554800 length 0/49152 sgs 0/0 stream 0 zsI status -18 --> 0 irq/175-dwc3-2373 [003] 7391.967171: dwc3_event: event (9e68c08a): ep2in: Transfer In Progress [40552] (sIM) irq/175-dwc3-2373 [003] 7391.967173: dwc3_complete_trb: [FAILED TO PARSE] name=ep2in trb=0xffffff80093072e0 allocated=32768028 queued=1764913253 bpl=1987641344 bph=0 size=268484608 ctrl=664407136 type=1 enqueue=53 dequeue=47 irq/175-dwc3-2373 [003] 7391.967175: dwc3_gadget_giveback: ep2in: req 0xffffffc07a554200 length 0/49152 zsI ==> -18 regdump、trace: refer to attachment hope providing some directions for this bug Best regards kun peng
<<attachment: trace_and_regdump.zip>>