usb: dwc2: Fixes and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | usb: dwc2: Simplify and fix DMA alignment codedrivers/ | +35 | 13 replies | |
| 2/4 | usb: dwc2: Do not update data length if it is 0 on inbound transfersdrivers/ | +8 | 2 replies | |
| 3/4 | usb: dwc2: Abort transaction after errors with unknown reasondrivers/ | +12 | 2 replies | |
| 4/4 | usb: dwc2: Make "trimming xfer length" a debug messagedrivers/ | +1 | 2 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Douglas Anderson |
|---|---|
| 1/4 | |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFT PATCH 0/4] usb: dwc2: Fixes and improvements
This series addresses the following problems:
- Fix receive buffer corruptions
- Fix receive transfers with 0 byte transfer length
- Abort transactions after unknown receive errors if the receive buffer is full
- Reduce "trimming xfer length" logging noise
The problems fixed with this series were observed when connecting a DM9600 Ethernet adapter to Veyron Chromebooks such as the ASUS Chromebook C201PA. The series was tested extensively with this and other adapters.
The observed problems are also reported when tethering various phones, so test coverage with such phones would be very appreciated.
----------------------------------------------------------------
Guenter Roeck (4):
usb: dwc2: Simplify and fix DMA alignment code
usb: dwc2: Do not update data length if it is 0 on inbound transfers
usb: dwc2: Abort transaction after errors with unknown reason
usb: dwc2: Make "trimming xfer length" a debug message
drivers/usb/dwc2/hcd.c | 82 ++++++++++++++++++++++++--------------------- drivers/usb/dwc2/hcd_intr.c | 14 +++++++- 2 files changed, 56 insertions(+), 40 deletions(-)