RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-10 Thread Felipe Balbi
Hi, Anurag Kumar Vulisha writes: > Thanks for reviewing this patch. Lets consider an example where a > request has num_sgs > 0 and each sg is mapped to a TRB and the last > TRB has the IOC bit set. Once the controller is done with the > transfer, it generates XferInProgress for

RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-10 Thread Anurag Kumar Vulisha
Bart Van Assche ; Mike >>>Christie ; Matthew Wilcox ; Colin >Ian >>>King >>>Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >>>v.anuragku...@gmail.com; Thinh Nguyen ; Tejas >Joglekar >>>; Ajay Yugalkishore

RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-09 Thread Felipe Balbi
gt;>v.anuragku...@gmail.com; Thinh Nguyen ; Tejas Joglekar >>; Ajay Yugalkishore Pandey >>Subject: RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both >>event->status >>and TRB->ctrl fields >> >> >>Hi, >> >>Anurag

RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-08 Thread Anurag Kumar Vulisha
er Quadros ; Manu Gautam ; >martin.peter...@oracle.com; Bart Van Assche ; Mike >Christie ; Matthew Wilcox ; Colin Ian >King >Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; >v.anuragku...@gmail.com; Thinh Nguyen ; Tejas Joglekar >; Ajay Yugalkishore Pandey >Subject: RE:

RE: [PATCH v7 09/10] usb: dwc3: Check for IOC/LST bit in both event->status and TRB->ctrl fields

2018-12-06 Thread Felipe Balbi
Hi, Anurag Kumar Vulisha writes: >>> @@ -2286,7 +2286,12 @@ static int >>dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, >>> if (event->status & DEPEVT_STATUS_SHORT && !chain) >>> return 1; >>> >>> - if (event->status & (DEPEVT_STATUS_IOC | DEPEVT_STATUS_LST)) >>> +