Re: dwc3+xhci in ARM64 issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi João,

Joao Pinto <Joao.Pinto@xxxxxxxxxxxx> writes:
> I am trying to bring up a USB 3.0 Host Controller with an ARM64 platform (Juno)
> and I was also getting the dma issue discussed in this thread:
>
> https://www.mail-archive.com/linux-usb@xxxxxxxxxxxxxxx/msg73137.html
>
> I then applied Grygorii Strashko' patch and managed to have a bus instantiated:
>
> DWC3 logs:
> # dmesg | grep dwc3
> dwc3 60000000.dwc3: assigned reserved memory node junoipk@60000000
>
> chci logs:
> xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
> xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
> xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x00010010
> xhci-hcd xhci-hcd.0.auto: irq 30, io mem 0x60000000
> usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
> usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb3: Product: xHCI Host Controller
> usb usb3: Manufacturer: Linux 4.6.0-rc5 xhci-hcd

Kudos for using new kernel :-)

> usb usb3: SerialNumber: xhci-hcd.0.auto
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 1 port detected
> xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
> xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
> usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
> usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
> usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb4: Product: xHCI Host Controller
> usb usb4: Manufacturer: Linux 4.6.0-rc5 xhci-hcd
> usb usb4: SerialNumber: xhci-hcd.0.auto
> hub 4-0:1.0: USB hub found
> hub 4-0:1.0: 1 port detected
> usbcore: registered new interface driver usb-storage
>
> The problem now is when I insert a pendrive nothing really happens, not sure why
> exactly.
>
> Could you give me an hint?

Do you get any interrupts at all ? When a pen drive is attached, XHCI
should interrupt and it should see a port status change. Check
/proc/interrupts before and after connecting this pendrive of yours.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux