Re: [RESEND PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Bin Meng
On Wed, Nov 18, 2020 at 11:46 AM Ran Wang wrote: > > For bulk IN transfer, the codes will set ISP flag to request event TRB > being generated by xHC for case of short packet. So for the case of Looks you missed this one: for the case of > buffer-cross-64K-boundary (which we will divide payload

[RESEND PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Ran Wang
For bulk IN transfer, the codes will set ISP flag to request event TRB being generated by xHC for case of short packet. So for the case of buffer-cross-64K-boundary (which we will divide payload and enqueuqe more than 1 transfer TRB), if the first TRB ends up with a short packet condition it will

RE: [PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Ran Wang
Hi Bin, On Wednesday, November 18, 2020 11:20 AM Bin Meng wrote: > > Hi Ran, > > On Wed, Nov 18, 2020 at 11:02 AM Ran Wang > wrote: > > > > Hi Bin, > > > > On Wednesday, November 18, 2020 11:06 AM Ran Wang wrote: > > > > > > For bulk IN transfer, the codes will set ISP flag to request event >

Re: [PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Bin Meng
Hi Ran, On Wed, Nov 18, 2020 at 11:02 AM Ran Wang wrote: > > Hi Bin, > > On Wednesday, November 18, 2020 11:06 AM Ran Wang wrote: > > > > For bulk IN transfer, the codes will set ISP flag to request event TRB being > > generated by xHC for case of short packet. So in buffer-cross-64K-boundary >

RE: [PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Ran Wang
Hi Bin, On Wednesday, November 18, 2020 11:06 AM Ran Wang wrote: > > For bulk IN transfer, the codes will set ISP flag to request event TRB being > generated by xHC for case of short packet. So in buffer-cross-64K-boundary > case (which we will divide payload and enqueuqe more than 1 transfer

[PATCH v3] usb: xhci: fix lack of short packet event trb handling

2020-11-17 Thread Ran Wang
For bulk IN transfer, the codes will set ISP flag to request event TRB being generated by xHC for case of short packet. So in buffer-cross-64K-boundary case (which we will divide payload and enqueuqe more than 1 transfer TRB), if the first TRB ends up with a short packet condition it will trigger