Skip to content

usb:samsung: Exynos4 SoC USB code improvements

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment+0 -01 reply
1/6usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment+0 -01 reply
1/6usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment+0 -01 reply
2/6usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver+0 -01 reply
2/6usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver+0 -01 reply
2/6usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver+0 -01 reply
4/6usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver+0 -01 reply
4/6usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver+0 -01 reply
4/6usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver+0 -01 reply
4/6usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver+0 -01 reply
4/6usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/6] usb:samsung: Exynos4 SoC USB code improvements
Quoted 21 lines · Lukasz Majewski

This patch series comprises several improvements for Exynos4 USB code.

The most notable is transmission speed improvement (measured on Trats):
From 9.51 MiB/s up to 27 MiB/s

This is due to UDC driver optimizations.

Also a code cleanup for THOR gadget has been included.

Lukasz Majewski (6):
usb:gadget:ums: Replace malloc calls with memalign to fix cache
buffer alignment
usb:udc:samsung: Remove redundant cache operation from Samsung UDC
driver
usb:udc:samsung: Allow burst transfers for non EP0 endpints usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC
driver
usb:gadget:f_thor: Allocate request up to THOR_PACKET_SIZE not

    ep->maxpacket

usb:gadget:f_thor: cosmetic: Remove debug memset

Quoted 7 lines
 drivers/usb/gadget/f_mass_storage.c       |    4 +-
 drivers/usb/gadget/f_thor.c               |    4 +-
 drivers/usb/gadget/s3c_udc_otg.c          |   19 +++----
 drivers/usb/gadget/s3c_udc_otg_xfer_dma.c |   87
++++++++++++----------------- include/usb/s3c_udc.h                     | 
  5 +-
 5 files changed, 49 insertions(+), 70 deletions(-)

Applied all, but I'd like to know about the memalign() calls' precise alignment behavior -- that is, if the begining if cacheline aligned or if it's only the size or what -- see my rant /wrt patch #1 .

Best regards,
Marek Vasut