Skip to content

inherit dma configuration from parent dev

Sriram Dash linux-rockchip lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 18 repliesIn review
  2. v46 patches 1 replySuperseded
  3. v36 patches 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches3 repliesSuperseded
v13 patches5 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6usb: separate out sysdev pointer from usb_busdrivers/usb/core/buffer.c drivers/usb/core/hcd.c drivers/usb/core/usb.c +2 more+48 -343 replies
2/6usb: chipidea: use bus->sysdev for DMA configurationdrivers/usb/chipidea/core.c drivers/usb/chipidea/host.c drivers/usb/chipidea/udc.c+8 -80 replies
3/6usb: ehci: fsl: use bus->sysdev for DMA configurationdrivers/usb/host/ehci-fsl.c+2 -20 replies
4/6usb: xhci: use bus->sysdev for DMA configurationdrivers/usb/host/xhci-mem.c drivers/usb/host/xhci-plat.c drivers/usb/host/xhci.c+43 -178 replies
5/6usb: dwc3: use bus->sysdev for DMA configurationdrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h drivers/usb/dwc3/dwc3-pci.c +3 more+54 -431 reply
6/6usb: dwc3: Do not set dma coherent maskdrivers/usb/dwc3/dwc3-exynos.c drivers/usb/dwc3/dwc3-st.c+0 -111 reply

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchPeter ChenBaolin WangBrian NorrisAlexander SverdlinVivek GautamMathias Nyman
SeriesT-b
1/6T-b T-b T-b
2/6A-b
3/6
4/6T-b T-b A-b
5/6T-b T-b
6/6T-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 6 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] inherit dma configuration from parent dev

For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices.

The idea here is that you pass in the parent of_node along with the child device pointer, so it would behave exactly like the parent already does. The difference is that it also handles all the other attributes besides the mask.

Arnd Bergmann (6):
usb: separate out sysdev pointer from usb_bus
usb: chipidea: use bus->sysdev for DMA configuration
usb: ehci: fsl: use bus->sysdev for DMA configuration
usb: xhci: use bus->sysdev for DMA configuration
usb: dwc3: use bus->sysdev for DMA configuration
usb: dwc3: Do not set dma coherent mask

 drivers/usb/chipidea/core.c    |  3 ---
 drivers/usb/chipidea/host.c    |  3 ++-
 drivers/usb/chipidea/udc.c     | 10 +++++----
 drivers/usb/core/buffer.c      | 12 +++++------
 drivers/usb/core/hcd.c         | 48 +++++++++++++++++++++++++-----------------
 drivers/usb/core/usb.c         | 18 ++++++++--------
 drivers/usb/dwc3/core.c        | 27 ++++++++++++------------
 drivers/usb/dwc3/core.h        |  3 +++
 drivers/usb/dwc3/dwc3-exynos.c | 10 ---------
 drivers/usb/dwc3/dwc3-pci.c    | 10 +++++++++
 drivers/usb/dwc3/dwc3-st.c     |  1 -
 drivers/usb/dwc3/ep0.c         |  8 +++----
 drivers/usb/dwc3/gadget.c      | 33 +++++++++++++++--------------
 drivers/usb/dwc3/host.c        | 16 ++++++--------
 drivers/usb/host/ehci-fsl.c    |  4 ++--
 drivers/usb/host/xhci-mem.c    | 12 +++++------
 drivers/usb/host/xhci-plat.c   | 33 +++++++++++++++++++++++------
 drivers/usb/host/xhci.c        | 15 +++++++++----
 include/linux/usb.h            |  1 +
 include/linux/usb/hcd.h        |  3 +++
 20 files changed, 155 insertions(+), 115 deletions(-)
Signature · 1 line
2.1.0