[PATCH v1 00/14] usb: dwc2: descriptor dma mode bug fixes

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

 



Hi,

This patchset contains bug fixes for host descriptor dma mode.

Descriptor dma mode can't be used as the default mode since controller
does not support split transfers in this mode.
So we add a new configuration parameter which allows descriptor dma mode
to be enabled for full-speed devices only.

All patches are verified on dwc2 v3.0a with dedicated fifos and our
main test target was usb audio devices.

All patches are based on Felipe's testing/next branch.

Regards,
Gregory

History:
v1:
  - Fix compilation error introduced by:
    "usb: dwc2: host: avoid usage of dma_alloc_coherent with irqs disabled"
  - Fix warning introduced by:
    "usb: dwc2: host: fix descriptor list address masking"

Gregory Herrero (12):
  usb: dwc2: host: ensure filling of isoc desc is correctly done
  usb: dwc2: host: set active bit in isochronous descriptors
  usb: dwc2: host: rework isochronous halt path
  usb: dwc2: host: fix use of qtd after free in desc dma mode
  usb: dwc2: host: spinlock release channel
  usb: dwc2: host: add function to compare frame index
  usb: dwc2: host: program descriptor for next frame
  usb: dwc2: host: always increment available host channel during
    release
  usb: dwc2: host: process all completed urbs
  usb: dwc2: host: free status_buf on hcd de-init
  usb: dwc2: host: avoid usage of dma_alloc_coherent with irqs disabled
  usb: dwc2: host: use kmem cache to allocate descriptors

Mian Yousaf Kaukab (2):
  usb: dwc2: host: enable descriptor dma for fs devices
  usb: dwc2: host: fix descriptor list address masking

 drivers/usb/dwc2/core.c      |  37 +++++--
 drivers/usb/dwc2/core.h      |  26 +++++
 drivers/usb/dwc2/hcd.c       |  91 +++++++++++++++-
 drivers/usb/dwc2/hcd.h       |  19 ++++
 drivers/usb/dwc2/hcd_ddma.c  | 240 +++++++++++++++++++++++++++++++++++--------
 drivers/usb/dwc2/hcd_intr.c  |  15 ++-
 drivers/usb/dwc2/hcd_queue.c |   2 +-
 drivers/usb/dwc2/hw.h        |   4 -
 drivers/usb/dwc2/platform.c  |   4 +
 9 files changed, 382 insertions(+), 56 deletions(-)

-- 
2.6.1

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