All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] usb: cdns3: improve the sg use case
@ 2020-09-01  8:44 Peter Chen
  2020-09-01  8:44 ` [PATCH 1/8] usb: cdns3: gadget: using correct sg operations Peter Chen
                   ` (7 more replies)
  0 siblings, 8 replies; 28+ messages in thread
From: Peter Chen @ 2020-09-01  8:44 UTC (permalink / raw)
  To: balbi; +Cc: linux-usb, linux-imx, pawell, rogerq, gregkh, jun.li, Peter Chen

For sg use cases, there will be serveral TRBs in TD, and the short transfer
may occur during the TD, current code doesn't handle it well, improve it
through this series. Tested by Android MTP and ADB use case.

Peter Chen (8):
  usb: cdns3: gadget: using correct sg operations
  usb: cdns3: gadget: improve the dump TRB operation at
    cdns3_ep_run_transfer
  usb: cdns3: gadget: calculate TDL correctly
  usb: cdns3: gadget: add CHAIN and ISP bit for sg list use case
  usb: cdns3: gadget: handle sg list use case at completion correctly
  usb: cdns3: gadget: need to handle sg case for WA2 case
  usb: cdns3: gadget: sg_support is only for DEV_VER_V2 or above
  usb: cdns3: gadget: enlarge the TRB ring length

 drivers/usb/cdns3/gadget.c | 205 +++++++++++++++++++++++++------------
 drivers/usb/cdns3/gadget.h |  11 +-
 2 files changed, 151 insertions(+), 65 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2020-09-10  8:40 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01  8:44 [PATCH 0/8] usb: cdns3: improve the sg use case Peter Chen
2020-09-01  8:44 ` [PATCH 1/8] usb: cdns3: gadget: using correct sg operations Peter Chen
2020-09-08  6:19   ` Felipe Balbi
2020-09-08  7:11     ` Peter Chen
2020-09-01  8:44 ` [PATCH 2/8] usb: cdns3: gadget: improve the dump TRB operation at cdns3_ep_run_transfer Peter Chen
2020-09-08  6:19   ` Felipe Balbi
2020-09-08  7:11     ` Peter Chen
2020-09-01  8:44 ` [PATCH 3/8] usb: cdns3: gadget: calculate TDL correctly Peter Chen
2020-09-08  6:21   ` Felipe Balbi
2020-09-08  7:15     ` Peter Chen
2020-09-01  8:44 ` [PATCH 4/8] usb: cdns3: gadget: add CHAIN and ISP bit for sg list use case Peter Chen
2020-09-08  6:22   ` Felipe Balbi
2020-09-08  7:21     ` Peter Chen
2020-09-08  7:43       ` Felipe Balbi
2020-09-01  8:44 ` [PATCH 5/8] usb: cdns3: gadget: handle sg list use case at completion correctly Peter Chen
2020-09-08  6:25   ` Felipe Balbi
2020-09-08  8:34     ` Peter Chen
2020-09-10  8:37       ` Peter Chen
2020-09-01  8:44 ` [PATCH 6/8] usb: cdns3: gadget: need to handle sg case for WA2 case Peter Chen
2020-09-08  6:29   ` Felipe Balbi
2020-09-08  9:07     ` Peter Chen
2020-09-01  8:44 ` [PATCH 7/8] usb: cdns3: gadget: sg_support is only for DEV_VER_V2 or above Peter Chen
2020-09-08  6:30   ` Felipe Balbi
2020-09-08  9:08     ` Peter Chen
2020-09-01  8:44 ` [PATCH 8/8] usb: cdns3: gadget: enlarge the TRB ring length Peter Chen
2020-09-08  6:32   ` Felipe Balbi
2020-09-08  9:18     ` Peter Chen
2020-09-08  9:30       ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.