Re: [PATCH] Revert "usb: chipidea: usbmisc_imx: delete clock information"

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

 



On Mon, Sep 14, 2015 at 9:50 PM, Peter Chen <peter.chen@xxxxxxxxxxxxx> wrote:

>
> Would you try below?
>
> diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
> index 4decb12..34e9f6e 100644
> --- a/drivers/usb/chipidea/Makefile
> +++ b/drivers/usb/chipidea/Makefile
> @@ -16,4 +16,4 @@ obj-$(CONFIG_USB_CHIPIDEA)    += ci_hdrc_zevio.o
>
>  obj-$(CONFIG_USB_CHIPIDEA_PCI) += ci_hdrc_pci.o
>
> -obj-$(CONFIG_USB_CHIPIDEA_OF)  += usbmisc_imx.o ci_hdrc_imx.o
> +obj-$(CONFIG_USB_CHIPIDEA_OF)  += ci_hdrc_imx.o usbmisc_imx.o

This one gives kernel dump in loop, with a different pattern:

b9c0: 00000000 00000000 00000000 c073f110 c78bd800 c0743c38 c0522e3c c78bda3c
b9e0: c0033b02 c78eba44 c0743c38 c78eba08 c002f2f8 c0033b00 20000093 ffffffff
[<c052633c>] (__dabt_svc) from [<c0033b00>] (kthread_data+0x4/0xc)
[<c0033b00>] (kthread_data) from [<c002f2f8>] (wq_worker_sleeping+0xc/0xbc)
[<c002f2f8>] (wq_worker_sleeping) from [<c0522904>] (__schedule+0x2fc/0x654)
[<c0522904>] (__schedule) from [<c0522e3c>] (schedule+0x3c/0xa8)
[<c0522e3c>] (schedule) from [<c001ac94>] (do_exit+0x7ac/0x9a0)
[<c001ac94>] (do_exit) from [<c000d06c>] (die+0x164/0x3b0)
[<c000d06c>] (die) from [<c0014854>] (__do_kernel_fault.part.0+0x54/0x1e4)
[<c0014854>] (__do_kernel_fault.part.0) from [<c0526cec>] (do_page_fault+0x338/)
[<c0526cec>] (do_page_fault) from [<c00092b8>] (do_DataAbort+0x34/0xb4)
[<c00092b8>] (do_DataAbort) from [<c052633c>] (__dabt_svc+0x3c/0x60)
Exception stack(0xc78ebbe8 to 0xc78ebc30)
bbe0:                   c78bd800 00000000 00000000 00000000 00000000 c7832b60
bc00: c78bd800 c0743c38 c0522e3c c78bda3c 00000001 c78ebc74 c0743c38 c78ebc38
bc20: c002f2f8 c0033b00 20000093 ffffffff
[<c052633c>] (__dabt_svc) from [<c0033b00>] (kthread_data+0x4/0xc)
[<c0033b00>] (kthread_data) from [<c002f2f8>] (wq_worker_sleeping+0xc/0xbc)
[<c002f2f8>] (wq_worker_sleeping) from [<c0522904>] (__schedule+0x2fc/0x654)
[<c0522904>] (__schedule) from [<c0522e3c>] (schedule+0x3c/0xa8)
[<c0522e3c>] (schedule) from [<c001aa8c>] (do_exit+0x5a4/0x9a0)
[<c001aa8c>] (do_exit) from [<c000d06c>] (die+0x164/0x3b0)
[<c000d06c>] (die) from [<c0009328>] (do_DataAbort+0xa4/0xb4)
[<c0009328>] (do_DataAbort) from [<c052633c>] (__dabt_svc+0x3c/0x60)
Exception stack(0xc78ebdc8 to 0xc78ebe10)
bdc0:                   00000001 00000001 00000000 f4424600 c7a24790 c7a8c410
bde0: 60000013 01000000 c055a2a4 c07943fc 00000000 00000002 00000000 c78ebe18
be00: c03af778 c03af784 60000093 ffffffff
[<c052633c>] (__dabt_svc) from [<c03af784>] (usbmisc_imx27_init+0x4c/0xbc)
[<c03af784>] (usbmisc_imx27_init) from [<c03af39c>] (imx_usbmisc_init+0x2c/0x38)
[<c03af39c>] (imx_usbmisc_init) from [<c03aeff8>] (ci_hdrc_imx_probe+0x22c/0x38)
[<c03aeff8>] (ci_hdrc_imx_probe) from [<c02e4294>] (platform_drv_probe+0x48/0xa)
[<c02e4294>] (platform_drv_probe) from [<c02e28dc>] (driver_probe_device+0x1e0/)
[<c02e28dc>] (driver_probe_device) from [<c02e0f64>] (bus_for_each_drv+0x48/0x9)
[<c02e0f64>] (bus_for_each_drv) from [<c02e2670>] (__device_attach+0x9c/0x100)
[<c02e2670>] (__device_attach) from [<c02e1df0>] (bus_probe_device+0x88/0x90)
[<c02e1df0>] (bus_probe_device) from [<c02e21d4>] (deferred_probe_work_func+0x5)
[<c02e21d4>] (deferred_probe_work_func) from [<c002de7c>] (process_one_work+0x1)
[<c002de7c>] (process_one_work) from [<c002e21c>] (worker_thread+0x28/0x524)
[<c002e21c>] (worker_thread) from [<c003343c>] (kthread+0xc0/0xdc)
[<c003343c>] (kthread) from [<c000a370>] (ret_from_fork+0x14/0x24)
Code: c0032f64 c0621d18 c07976a0 e5903210 (e5130010)

> But the error log looks similar, it seems we does not open IMX27_CLK_USB_AHB_GATE
> correctly.

Yes, but we cannot pass IMX27_CLK_USB_AHB_GATE as the clock for the
ULPI PHY as it is not correct.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux