Re: ci_hdrc_tegra hard locks kernel when set to dr_mode = "otg"

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

 



30.09.2019 03:33, Peter Geis пишет:
> Good Evening,
> 
> While testing Dmitry's cpuidle driver I found that tegra-udc is broken
> completely on linux-next.
> Even in peripheral mode, disconnected from the host, it locks at the same place.
> 
> [    2.864983] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    2.871723] tegra-ehci: Tegra EHCI driver
> [    2.880593] tegra-ehci 7d004000.usb: EHCI Host Controller
> [    2.886484] tegra-ehci 7d004000.usb: new USB bus registered,
> assigned bus number 1
> [    2.895250] tegra-ehci 7d004000.usb: irq 88, io mem 0x7d004000
> [    2.916528] tegra-ehci 7d004000.usb: USB 2.0 started, EHCI 1.00
> [    2.927441] hub 1-0:1.0: USB hub found
> [    2.931479] hub 1-0:1.0: 1 port detected
> [    2.939124] usbcore: registered new interface driver cdc_acm
> [    2.944889] cdc_acm: USB Abstract Control Model driver for USB
> modems and ISDN adapters
> [    2.953185] usbcore: registered new interface driver cdc_wdm
> [    2.959107] usbcore: registered new interface driver uas
> [    2.964824] usbcore: registered new interface driver usb-storage
> [    2.974726] tegra-udc 7d000000.usb: 7d000000.usb supply vbus not
> found, using dummy regulator
> [    2.990506] ci_hdrc ci_hdrc.0: EHCI Host Controller
> [    2.992320] udc ci_hdrc.0: registering UDC driver [g_ncm]
> [    2.995708] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2
> [    3.001232] using random self ethernet address
> [    3.012631] using random host ethernet address
> [    3.017190] g_ncm gadget: adding config #1 'CDC Ethernet (NCM)'/(ptrval)
> [    3.020523] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
> [    3.024058] g_ncm gadget: adding 'cdc_network'/(ptrval) to config
> 'CDC Ethernet (NCM)'/(ptrval)
> [    3.033578] hub 2-0:1.0: USB hub found
> [    3.041721] usb0: HOST MAC 9e:a2:94:94:76:53
> [    3.042085] hub 2-0:1.0: 1 port detected
> [    3.046706] usb0: MAC b2:13:8e:20:a9:fa
> [    3.054215] g_ncm gadget: CDC Network: dual speed IN/ep1in
> OUT/ep1out NOTIFY/ep2in
> [    3.061861] g_ncm gadget: cfg 1/(ptrval) speeds: high full
> [    3.067402] g_ncm gadget:   interface 0 = cdc_network/(ptrval)
> [    3.073292] g_ncm gadget:   interface 1 = cdc_network/(ptrval)
> [    3.079206] g_ncm gadget: NCM Gadget
> [    3.082843] g_ncm gadget: g_ncm ready
> [    3.091020] rtc rtc1: alarm rollover: day
> [    3.096710] tegra_rtc 7000e000.rtc: char device (253:1)
> [    3.102059] tegra_rtc 7000e000.rtc: registered as rtc1
> [    3.107257] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
> [    3.114270] i2c /dev entries driver
> [    3.118781] tegra-apbdma 6000a000.dma: private_candidate: dma0chan0 busy
> [    3.128234] tegra-apbdma 6000a000.dma: private_candidate: dma0chan0 busy
> [    3.135069] tegra-apbdma 6000a000.dma: private_candidate: dma0chan1 busy
> [    3.141875] tegra-apbdma 6000a000.dma: private_candidate: dma0chan0 busy
> [    3.148644] tegra-apbdma 6000a000.dma: private_candidate: dma0chan1 busy
> [    3.155402] tegra-apbdma 6000a000.dma: private_candidate: dma0c
> 
> Thank you for your time,
> Peter
> 

Do you mean that it works when:

a) the cpuidle patches are *not* applied
b) with cpuidle patches applied and USB driver being disabled

The UDC driver works perfectly fine for me, I'm using it all the time on
T20 and T30.



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux