Re: [PATCH] usb: musb: cppi41: fix not transmitting zero length packet issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felipe,

On Tue, Aug 12, 2014 at 11:55 AM, Felipe Balbi <balbi@xxxxxx> wrote:
> On Tue, Aug 12, 2014 at 11:46:32AM -0500, Bin Liu wrote:
>> CPPI TX does not transmit ZLP for TX transfers which
>> - transfer size is multiple of EP packet size,
>> - and URB_ZERO_PACKET is set in urb->transfer_flags.
>>
>> The fix is transmitting the ZLP using PIO mode after the CPPI TX is
>> done.
>>
>> Validated using the following usbtest write case for MUSB host mode.
>>
>>   # testusb -t1 -c1
>
> is it still stable if you using -c 50000 ? Patch looks ok, but I'd like
> to make sure there are no races there while at it.

Seems no issue here. ran -c50000 multiple times, the protocol trace
looks no issue (obviously I cannot check every iteration of the 50K
xfers...), and the usb port still alive. ;)

Regards,
-Bin.

>
> --
> balbi
--
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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux