linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] usb: dwc3: handle non maxpacket aligned transfers > 512
@ 2015-06-10  9:18 Kishon Vijay Abraham I
       [not found] ` <1433927932-32395-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Kishon Vijay Abraham I @ 2015-06-10  9:18 UTC (permalink / raw)
  To: balbi-l0cyMroinI0, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: nsekhar-l0cyMroinI0, kishon-l0cyMroinI0,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r

Patch series adds support to handle non maxpacket aligned transfers
greater than bounce buffer size (512). It first adds chained TRB
support and then uses it to handle non maxpacket aligned transfers
greater than bounce buffer size.

Also included a cleanup patch to use 'roundup' macro.

This series is created after applying [1]

Non maxpacket aligned transfers can be initiated by
"./testusb -t 14 -c 1 -s 520 -v 1"

Before this series:
unknown speed	/dev/bus/usb/001/018	0
/dev/bus/usb/001/018 test 14 --> 110 (Connection timed out)

After this series:
unknown speed	/dev/bus/usb/001/023	0
/dev/bus/usb/001/023 test 14,    0.000486 secs

Tested this patch using USB3 Gen X CV (ch9 tests: usb2 and usb3,
link layer testing and MSC tests) and using USB2 X CV (ch9 tests,
MSC tests) and verified this doesn't cause additional failures.

Lecroy compliance tests fail even without this patch series so
deferred testing it.

[1] -> http://permalink.gmane.org/gmane.linux.kernel/1972684

Kishon Vijay Abraham I (5):
  usb: dwc3: ep0: use _roundup_ to calculate the transfer size
  usb: dwc3: ep0: preparation for handling non maxpacket aligned
    transfers > 512
  usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain'
    parameter
  usb: dwc3: ep0: Add chained TRB support
  usb: dwc3: ep0: handle non maxpacket aligned transfers > 512

 drivers/usb/dwc3/ep0.c    |   94 ++++++++++++++++++++++++++++++---------------
 drivers/usb/dwc3/gadget.c |    2 +-
 2 files changed, 64 insertions(+), 32 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-07-10 14:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10  9:18 [PATCH 0/5] usb: dwc3: handle non maxpacket aligned transfers > 512 Kishon Vijay Abraham I
     [not found] ` <1433927932-32395-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2015-06-10  9:18   ` [PATCH 1/5] usb: dwc3: ep0: use _roundup_ to calculate the transfer size Kishon Vijay Abraham I
2015-07-06 19:00     ` Felipe Balbi
2015-07-10 14:59       ` Kishon Vijay Abraham I
2015-06-10  9:18 ` [PATCH 2/5] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers > 512 Kishon Vijay Abraham I
2015-06-10 18:16   ` Sergei Shtylyov
2015-06-10  9:18 ` [PATCH 3/5] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter Kishon Vijay Abraham I
2015-06-10 18:12   ` Sergei Shtylyov
2015-06-10  9:18 ` [PATCH 4/5] usb: dwc3: ep0: Add chained TRB support Kishon Vijay Abraham I
2015-06-10 18:11   ` Sergei Shtylyov
2015-06-10  9:18 ` [PATCH 5/5] usb: dwc3: ep0: handle non maxpacket aligned transfers > 512 Kishon Vijay Abraham I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).