[PATCH 0/2] usb: dwc2: DMA alignment fixes

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

 



Here are two patches that improve DMA alignment handling of the dwc2
driver significantly.

The first one ("usb: dwc2: Fix DMA alignment to start at allocated
boundary") fixes an actual crash regression on some platforms introduced
by commit 3bc04e28a030 ("usb: dwc2: host: Get aligned DMA in a more
supported way") and should be considered for inclusion in stable kernel
release.

The second patch ("usb: dwc2: Fix inefficient copy of unaligned
buffers") is a port of an optimization found from similar drivers to
dwc2. In my tests it offered a significant performance improvement in
certain use cases. Since it touches the same area that I was already
modifying I decided to split it into separate patch and include in the
series.

Antti Seppälä (2):
  usb: dwc2: Fix DMA alignment to start at allocated boundary
  usb: dwc2: Fix inefficient copy of unaligned buffers

 drivers/usb/dwc2/hcd.c | 54 +++++++++++++++++++++++++++++---------------------
 1 file changed, 31 insertions(+), 23 deletions(-)

-- 
2.13.6

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