lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMz4kuKg=KT+GkWYO_t1F_2_ioPempc9VFaE2AkCcdTqDpxNCQ@mail.gmail.com>
Date:   Thu, 10 Nov 2016 20:33:52 +0800
From:   Baolin Wang <baolin.wang@...aro.org>
To:     Sriram Dash <sriram.dash@....com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        USB <linux-usb@...r.kernel.org>, mathias.nyman@...el.com,
        Greg KH <gregkh@...uxfoundation.org>, suresh.gupta@....com,
        Felipe Balbi <felipe.balbi@...ux.intel.com>,
        Alan Stern <stern@...land.harvard.edu>, pku.leo@...il.com,
        Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

Hi,

On 10 November 2016 at 16:20, Sriram Dash <sriram.dash@....com> wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The dma ops for dwc3 devices are not set properly. So, use a
> physical device sysdev, which will be inherited from parent,
> to set the hardware / firmware parameters like dma.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Sriram Dash <sriram.dash@....com>
> ---
> Changes in v3:
>   - No update
>
> Changes in v2:
>   - integrate dwc3 driver changes together
>
>  drivers/usb/dwc3/core.c   | 28 +++++++++++++++-------------
>  drivers/usb/dwc3/core.h   |  1 +
>  drivers/usb/dwc3/ep0.c    |  8 ++++----
>  drivers/usb/dwc3/gadget.c | 37 +++++++++++++++++++------------------
>  drivers/usb/dwc3/host.c   | 12 ++++--------
>  5 files changed, 43 insertions(+), 43 deletions(-)
>

Tested on my dwc3 platform, it can work well as host or gadget. You
can add my tested tag for patch 1/4/5 after fixing Felipe's issue.
Tested-by: Baolin Wang <baolin.wang@...aro.org>

-- 
Baolin.wang
Best Regards

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ