Hi, Jerry Huang <jerry.huang@xxxxxxx> 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. Arnd, care to comment? > I don't know if I can find out one better solution for it. okay. > Maybe I need to create one new file like dwc3-omap.c or dwc3-pci.c to > handle the DMA ops? I fail to see how a new source file would help here. -- balbi
Attachment:
signature.asc
Description: PGP signature