Message ID | cover.1658192351.git.Thinh.Nguyen@synopsys.com (mailing list archive) |
---|---|
Headers | show |
Series | usb: gadget: f_tcm: Enhance UASP driver | expand |
On Mon, Jul 18, 2022 at 06:26:01PM -0700, Thinh Nguyen wrote: > The Linux UASP gadget driver is incomplete and remained broken for a long time. > It was not implemented for performance either. This series adds some of the > required features for the UASP driver to work. It also makes some changes to > the target core. > > This is tested against UASP CV and DWC_usb3x controller. It still needs some > fixes in the target core, which will be separated from this series. > > There are still more room for performance improvement and fixes. However, this > series should be sufficient to bring up a working UASP device. > > > Changes in v2: > - Remove most target core changes from this series and only keep the must-have > ones > - Split the task-management patch to smaller patches > - Don't send failure Task Management response to target core, reducing > dependency > - Add UASP bringup script example in cover page > - Make various small updates according to feedbacks I would need a review by the target maintainers before being able to take any of the USB gadget changes into the USB tree... thanks, greg k-h
Hi Martin, Dmitry, and others, On Fri, Aug 19, 2022 at 10:31:23AM +0200, Greg Kroah-Hartman wrote: > On Mon, Jul 18, 2022 at 06:26:01PM -0700, Thinh Nguyen wrote: > > The Linux UASP gadget driver is incomplete and remained broken for a long time. > > It was not implemented for performance either. This series adds some of the > > required features for the UASP driver to work. It also makes some changes to > > the target core. > > > > This is tested against UASP CV and DWC_usb3x controller. It still needs some > > fixes in the target core, which will be separated from this series. > > > > There are still more room for performance improvement and fixes. However, this > > series should be sufficient to bring up a working UASP device. > > > > > > Changes in v2: > > - Remove most target core changes from this series and only keep the must-have > > ones > > - Split the task-management patch to smaller patches > > - Don't send failure Task Management response to target core, reducing > > dependency > > - Add UASP bringup script example in cover page > > - Make various small updates according to feedbacks > > I would need a review by the target maintainers before being able to > take any of the USB gadget changes into the USB tree... > Do you have any comment on this series? Thanks, Thinh
On Fri, Aug 19, 2022, Thinh Nguyen wrote: > Hi Martin, Dmitry, and others, > > On Fri, Aug 19, 2022 at 10:31:23AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Jul 18, 2022 at 06:26:01PM -0700, Thinh Nguyen wrote: > > > The Linux UASP gadget driver is incomplete and remained broken for a long time. > > > It was not implemented for performance either. This series adds some of the > > > required features for the UASP driver to work. It also makes some changes to > > > the target core. > > > > > > This is tested against UASP CV and DWC_usb3x controller. It still needs some > > > fixes in the target core, which will be separated from this series. > > > > > > There are still more room for performance improvement and fixes. However, this > > > series should be sufficient to bring up a working UASP device. > > > > > > > > > Changes in v2: > > > - Remove most target core changes from this series and only keep the must-have > > > ones > > > - Split the task-management patch to smaller patches > > > - Don't send failure Task Management response to target core, reducing > > > dependency > > > - Add UASP bringup script example in cover page > > > - Make various small updates according to feedbacks > > > > I would need a review by the target maintainers before being able to > > take any of the USB gadget changes into the USB tree... > > > > Do you have any comment on this series? > Hi target maintainers, Gentle ping... BR, Thinh
On 2022-07-18 18:26:01 [-0700], Thinh Nguyen wrote: > The Linux UASP gadget driver is incomplete and remained broken for a long time. > It was not implemented for performance either. This series adds some of the > required features for the UASP driver to work. It also makes some changes to > the target core. Some patches here have fixes: tags and are in the middle of the series. If they are indeed fixes which are needed for the driver function regardless of the other changes, which are part of the series, then they should be moved to the front of series _or_ submitted independently as in "lets first fix the broken things and then make it pretty". All in all I am happy to see that somebody is looking into the target USB gadget. Sebastian
On Fri, Aug 26, 2022, Sebastian Andrzej Siewior wrote: > On 2022-07-18 18:26:01 [-0700], Thinh Nguyen wrote: > > The Linux UASP gadget driver is incomplete and remained broken for a long time. > > It was not implemented for performance either. This series adds some of the > > required features for the UASP driver to work. It also makes some changes to > > the target core. > > Some patches here have fixes: tags and are in the middle of the series. > If they are indeed fixes which are needed for the driver function > regardless of the other changes, which are part of the series, then they > should be moved to the front of series _or_ submitted independently as > in "lets first fix the broken things and then make it pretty". > > All in all I am happy to see that somebody is looking into the target > USB gadget. > Thanks for the reviews! I can move the commits with fixes tag around. But for the driver to work properly against different OSes (and maybe even for Linux), most of the changes without the fixes tags are also needed and not just to make it "pretty". There are still more work for f_tcm, but this series (plus the fixes series in target) is enough for the driver to work properly. Thanks, Thinh