Cleanup Octeon DWC3 glue code
Get series with b4
b4 am ZMd/HzISn0mPsNWt@lenochVersions newest first · linked by author and title
- v5 Latest7 patches 15 repliesIn review
- v46 patches 2 repliesSuperseded
- v33 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 6 replies | Superseded | |
| v1 | 11 patches | 14 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | usb: dwc3: dwc3-octeon: Convert to glue driverarch/ arch/ drivers/ +3 more | +68 | 0 replies | |
| 2/7 | usb: dwc3: dwc3-octeon: Use _ULL bitfields definesdrivers/ | +39 | 2 replies | |
| 3/7 | usb: dwc3: dwc3-octeon: Pass dwc3_octeon to setup functionsdrivers/ | +12 | 2 replies | |
| 4/7 | usb: dwc3: dwc3-octeon: Avoid half-initialized controller statedrivers/ | +43 | 6 replies | |
| 5/7 | usb: dwc3: dwc3-octeon: Move node parsing into driver probedrivers/ | +60 | 1 reply | |
| 6/7 | usb: dwc3: dwc3-octeon: Dump control register on clock init failuredrivers/ | +2 | 1 reply | |
| 7/7 | usb: dwc3: dwc3-octeon: Add SPDX header and copyrightdrivers/ | +4 | 3 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Bogendoerfer | Thinh Nguyen | Philippe Mathieu-Daudé | David Daney |
|---|---|---|---|---|
| 1/7 | A-b | A-b | ||
| 2/7 | A-b | R-b | ||
| 3/7 | A-b | R-b | ||
| 4/7 | A-b | |||
| 5/7 | A-b | |||
| 6/7 | A-b | R-b | ||
| 7/7 | A-b | R-b R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v5 0/7] Cleanup Octeon DWC3 glue code
Hi!
The glue code currently lives in arch/mips/cavium-octeon/octeon-usb.c and loops for each "cavium,octeon-7130-usb-uctl" compatible. However there is no bond with dwc3 core code, so if anything goes wrong in glue code, the loop breaks, leaving dwc3 in reset.
Later on when dwc3 core tries to read any device register, bus error is emited, leading to kernel panic.
Therefore move it to drivers/usb/dwc3 while making it glue driver.
This is a fifth attempt splitted between more patches with warnings for 32bit test targets silenced, see changelog appended to them.
Ladislav Michl (7):
usb: dwc3: dwc3-octeon: Convert to glue driver
usb: dwc3: dwc3-octeon: Use _ULL bitfields defines
usb: dwc3: dwc3-octeon: Pass dwc3_octeon to setup functions
usb: dwc3: dwc3-octeon: Avoid half-initialized controller state
usb: dwc3: dwc3-octeon: Move node parsing into driver probe
usb: dwc3: dwc3-octeon: Dump control register on clock init failure
usb: dwc3: dwc3-octeon: Add SPDX header and copyright
arch/mips/cavium-octeon/Makefile | 1 - arch/mips/cavium-octeon/octeon-platform.c | 1 - drivers/usb/dwc3/Kconfig | 10 + drivers/usb/dwc3/Makefile | 1 + .../usb/dwc3/dwc3-octeon.c | 429 +++++++++--------- drivers/usb/dwc3/dwc3-of-simple.c | 1 - 6 files changed, 220 insertions(+), 223 deletions(-) rename arch/mips/cavium-octeon/octeon-usb.c => drivers/usb/dwc3/dwc3-octeon.c (61%)
Signature · 1 line
2.39.2