Hi, Balbi,

> -----Original Message-----
> From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
> Sent: Thursday, December 08, 2016 6:56 PM
> To: Jerry Huang <jerry.hu...@nxp.com>; st...@rowland.harvard.edu;
> linux-usb@vger.kernel.org; Mathias Nyman
> <mathias.ny...@linux.intel.com>; Arnd Bergmann <a...@arndb.de>
> Cc: Sriram Dash <sriram.d...@nxp.com>; Greg Kroah-Hartman
> <gre...@linuxfoundation.org>
> Subject: RE: USB3.0 DWC3 can't work with latest Linux-4.9.rc7
> 
> 
> Hi,
> 
> Jerry Huang <jerry.hu...@nxp.com> writes:
> >> -----Original Message-----
> >> From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
> >> Sent: Thursday, December 08, 2016 5:46 PM
> >> To: Jerry Huang <jerry.hu...@nxp.com>; st...@rowland.harvard.edu;
> >> linux-usb@vger.kernel.org; Mathias Nyman
> >> <mathias.ny...@linux.intel.com>; Arnd Bergmann <a...@arndb.de>
> >> Cc: Sriram Dash <sriram.d...@nxp.com>; Greg Kroah-Hartman
> >> <gre...@linuxfoundation.org>
> >> Subject: RE: USB3.0 DWC3 can't work with latest Linux-4.9.rc7
> >>
> >>
> >> Hi,
> >>
> >> Jerry Huang <jerry.hu...@nxp.com> writes:
> >>
> >> [...]
> >>
> >> >> >> >> oh, it's the DMA thing. We have patches going to next for this.
> >> >> >> >> Arnd, do you know if next has all missing pieces? There was
> >> >> >> >> something pending on XHCI IIRC, right?
> >> >> >> > So, there are some patches for this issue? Where can I find it?
> >> >> >> > I need these
> >> >> >> patches for my work.
> >> >> >>
> >> >> >> https://lkml.org/lkml/2016/11/17/339
> >> >> > You means these below 6 patches?  They have been applied to
> >> >> > Linux-4.9-
> >> >> rc8.
> >> >> > Based on Linux-4.9-rc8, I got the error when I connect USB3.0
> >> >> > disk to board
> >> >> (USB2.0 disk works well):
> >> >> > [   16.360257] usb 4-1: device descriptor read/8, error -61
> >> >> > So, I think all these 6 patches did not set the USB3.0 DMA
> >> >> > coherent correctly, and we need another patch to handle it.
> >> >>
> >> >> okay, please prepare one such patch :-)
> >> > We still need this patch, after applying it to Linux-4.9-rc8, the
> >> > USB3.0 can
> >> work well.
> >> > https://patches.linaro.org/patch/65892/
> >> > dwc3 initiated xhci probe problem in arm64 4.4 kernel due to DMA
> >> > setup
> >>
> >> you're hiding the actual problem. The hole idea for Arnd's work was
> >> to fix the problem for all users, not only OF.
> > Then, I want to know if this patch can be accepted by open source? Or
> > there is another patch to replace it?
> 
> There is no other patch, yet. I can't reproduce this problem here, so you'd
> have to debug it and figure out what's the best way to fix it.
I found below link, there are some discussion about this issue,
http://thread.gmane.org/gmane.linux.usb.general/140374
it seems the patch (commit ID: 1dccb598df549d892b6450c261da54cdd7af44b4) is the 
root cause.
I don't know if I can find out one better solution for it.
Maybe I need to create one new file like dwc3-omap.c or dwc3-pci.c to handle 
the DMA ops?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to