Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1552054

Re: [PATCH v5 0/6] inherit dma configuration from parent dev

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Roger Quadros <rogerq@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 0/6] inherit dma configuration from parent dev
Date Thu, 05 Jan 2017 16:30:01 +0100
Message-ID <sWi9j-4Q4-9@gated-at.bofh.it> (permalink)
References <sMs0h-2MT-5@gated-at.bofh.it>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version 1.0
Content-Type text/plain; charset="windows-1252"
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 50
Organization linux.* mail to news gateway
X-Original-Cc <mathias.nyman@intel.com>, <suresh.gupta@nxp.com>, <stern@rowland.harvard.edu>, <pku.leo@gmail.com>
X-Original-Date Thu, 5 Jan 2017 17:21:09 +0200
X-Original-Message-ID <6ac3f225-674d-2329-a79b-e4f0652cc03d@ti.com>
X-Original-References <1479383028-27701-1-git-send-email-sriram.dash@nxp.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1552054

Show key headers only | View raw


Hi,

On 17/11/16 13:43, Sriram Dash wrote:
> 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

Only the dwc3 patches have been picked up for v4.10 and the rest are still missing.
Any plans to pick them in the rc cycle?

DMA configuration is still broken for XHCI on v4.10 and -next.

cheers,
-roger

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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 0/6] inherit dma configuration from parent dev Roger Quadros <rogerq@ti.com> - 2017-01-05 16:30 +0100
  Re: [PATCH v5 0/6] inherit dma configuration from parent dev Greg KH <gregkh@linuxfoundation.org> - 2017-01-05 18:20 +0100
    Re: [PATCH v5 0/6] inherit dma configuration from parent dev Roger Quadros <rogerq@ti.com> - 2017-01-10 13:20 +0100
      Re: [PATCH v5 0/6] inherit dma configuration from parent dev Javier Martinez Canillas <javier@dowhile0.org> - 2017-01-11 22:40 +0100

csiph-web